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);
|
|
|
|
|
2011-12-28 19:33:41 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Base Url
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This is the url path where the framework is located. Requires trailing
|
|
|
|
| slash.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
define('BASE_URL', '');
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Content Domain
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This is the domain used for serving content, such as css, javascript.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
define('CONTENT_DOMAIN', '');
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Static Lib Path
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This is the path where the 'assets' directory is on the static domain.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
define('STATIC_LIB_PATH', CONTENT_DOMAIN.'assets/');
|
|
|
|
|
2011-12-27 13:24:28 -05:00
|
|
|
|
|
|
|
// 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
|
|
|
|