* @link * @package Nakon * @subpackage Config * @since * @version SVN: $Id$ * @filesource $URL: svn+ssh://192.168.10.199/www/svn/nakon/trunk/config/init.inc.php $ */ require('sys.inc.php'); $path = explode('?', Env::Server('REQUEST_URI')); $path = trim($path[0], '/'); define('MJ_URL', '/'.$path.'/'); if (defined('PATH_TRIM') && PATH_TRIM != '' && strpos($path, PATH_TRIM) === 0) { $path = substr($path, strlen(PATH_TRIM) + 1); } define('MJ_PATH', $path); unset($path); require(CONFIG_PATH.'/routers.inc.php'); define('E_404', 404); define('E_403', 403); ?>