diff --git a/public/index.php b/public/index.php index 7d29678..7755002 100644 --- a/public/index.php +++ b/public/index.php @@ -2,17 +2,16 @@ /** * Loading path constant - */ -define('DS', DIRECTORY_SEPARATOR); + */ define('ROOT', dirname(dirname(__FILE__))); /** * Enable autoload */ -require_once ROOT . DS . 'vendor'. DS . 'autoload.php'; +require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php'; // start application -$app = new \Kletellier\MiniWeb\Core\Kernel\Application(); +$app = new \Kletellier\Framework\Core\Kernel\Application(ROOT); // Handle Url and render Response $app->handle(); \ No newline at end of file