diff --git a/public/index.php b/public/index.php index 73ebc1d..f7bfcfc 100644 --- a/public/index.php +++ b/public/index.php @@ -11,28 +11,4 @@ * @license http://opensource.org/licenses/MIT MIT License */ -/** - * Now MINI work with namespaces + composer's autoloader (PSR-4) - * - * @author Joao Vitor Dias - * - * For more info about namespaces plase @see http://php.net/manual/en/language.namespaces.importing.php - */ - -// set a constant that holds the project's folder path, like "/var/www/". -// DIRECTORY_SEPARATOR adds a slash to the end of the path -define('ROOT', dirname(__DIR__) . DIRECTORY_SEPARATOR); -// set a constant that holds the project's "application" folder, like "/var/www/application". -define('APP', ROOT . 'application' . DIRECTORY_SEPARATOR); - -// This is the auto-loader for Composer-dependencies (to load tools into your project). -require ROOT . 'vendor/autoload.php'; - -// load application config (error reporting etc.) -require APP . 'config/config.php'; - -// load application class -use Mini\Core\Application; - -// start the application -$app = new Application(); +echo "SOM TU";