* * @author Kléderson Bueno <*****@*****.**> * @version 1.0 */ @ob_start(); @session_start(); ################################ # System Settings ################################ require_once 'sysConfig.php'; ################################ # Error and Message System ################################ error_reporting(E_ALL & ~E_NOTICE); //Turn the Messages and Logs and Erros ON PhpBURN_Message::setMode(PhpBURN_Message::FIREBUG); //You can Choose FIREPHP, BROWSER OR FILE for now than more can came latter ################################ # Internacionalization Settings ################################ setlocale(LC_ALL, 'en_US'); date_default_timezone_set('America/Sao_Paulo'); ################################ # Modules ################################ # To load the module just remove the # comment from the line # Views #PhpBURN::loadModule('View'); # Controller #PhpBURN::loadModule('Controller'); # To load the module just remove the # comment from the line
<?php ################################ # Hooks ################################ define('SYS_USE_FIREPHP', false, true); ################################ # Including required files ################################ require_once 'app/phpBurn.php'; require_once 'config.php'; ################################ # Start PhpBURN needed resources ################################ PhpBURN::enableAutoload(); PhpBURN_Message::setMode(PhpBURN_Message::CONSOLE); //Migrations tool PhpBURN::load('Migrations.Reverse'); ################################ # Starting application ################################ PhpBURN_Reverse::init();