<?php define('DS', DIRECTORY_SEPARATOR); define('ROOT', realpath(dirname(__FILE__)) . DS); define('URL', "http://localhost/ACPOO/UIERP/"); require_once "Config/Autoload.php"; Config\Autoload::run(); require_once "Views/app.php"; Config\Enrutador::run(new Config\Request());
<?php error_reporting(E_ERROR | E_PARSE); session_start(); define("___NEWBIE___", "aplication"); define('DS', DIRECTORY_SEPARATOR); define('ROOT', realpath(dirname(__FILE__)) . DS); require_once '../config/Autoload.php'; require_once '../config/Config.php'; require_once '../app/Tools/Helpers.php'; Config\Autoload::getLoader(); Config\Router::Run(new Config\Request());