Example #1
0
<?php

ob_start();
//error_reporting(-1);
//ini_set('display_errors','1');
use core\Utility as U;
use core\Router;
require_once './core/Utility.php';
U::init();
require_once U::$APP . 'routes.php';
Router::execute($_GET['route'], $_POST);
exit;
Example #2
0
<?php

require __DIR__ . '/app/check_setup.php';
require __DIR__ . '/app/common.php';
use Core\Router;
$router = new Router($registry);
$router->execute();