2011-12-27 13:24:28 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Change this in a live environment!
|
|
|
|
error_reporting(-1);
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Display Debug backtrace
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| If set to TRUE, a backtrace will be displayed along with php errors.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
define('SHOW_DEBUG_BACKTRACE', TRUE);
|
|
|
|
|
|
|
|
|
|
|
|
// Set the default paths
|
|
|
|
define('SYS_PATH', __DIR__.'/sys/');
|
|
|
|
define('MOD_PATH', __DIR__.'/modules/');
|
|
|
|
define('APP_PATH', __DIR__.'/app/');
|
|
|
|
|
|
|
|
// Require the most important files
|
2011-12-27 16:47:27 -05:00
|
|
|
require(SYS_PATH . "common.php");
|
2011-12-27 13:24:28 -05:00
|
|
|
require(SYS_PATH . "miniMVC.php");
|
|
|
|
require(SYS_PATH . 'db.php');
|
|
|
|
|
2011-12-27 16:47:27 -05:00
|
|
|
echo get_instance()->__toString();
|