You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
482 B

<?php
/**
* Файл роутеров
*
* @copyright
* @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'));
define('MJ_PATH', trim($path[0], '/'));
define('MJ_URL', "/".MJ_PATH."/");
unset($path);
require(CONFIG_PATH.'/routers.inc.php');
define('E_404', 404);
define('E_403', 403);
?>