18 lines
338 B
PHP
18 lines
338 B
PHP
<?php
|
|
|
|
/**
|
|
* Loading path constant
|
|
*/
|
|
define('DS', DIRECTORY_SEPARATOR);
|
|
define('ROOT', dirname(dirname(__FILE__)));
|
|
|
|
/**
|
|
* Enable autoload
|
|
*/
|
|
require_once ROOT . DS . 'vendor'. DS . 'autoload.php';
|
|
|
|
// start application
|
|
$app = new \Kletellier\MiniWeb\Core\Kernel\Application();
|
|
|
|
// Handle Url and render Response
|
|
$app->handle(); |