From 1f0334ac5a873995840ddb9f610e45c8156f31e6 Mon Sep 17 00:00:00 2001 From: Jan Sunavec Date: Wed, 20 Dec 2017 13:03:13 +0100 Subject: [PATCH] TEST 7 --- public/index.php | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) 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";