|
@ -14,6 +14,7 @@ |
|
|
require('sys.inc.php'); |
|
|
require('sys.inc.php'); |
|
|
$path = explode('?', Env::Server('REQUEST_URI')); |
|
|
$path = explode('?', Env::Server('REQUEST_URI')); |
|
|
define('MJ_PATH', trim($path[0], '/')); |
|
|
define('MJ_PATH', trim($path[0], '/')); |
|
|
|
|
|
define('MJ_URL', "/".MJ_PATH."/"); |
|
|
unset($path); |
|
|
unset($path); |
|
|
|
|
|
|
|
|
require(CONFIG_PATH.'/routers.inc.php'); |
|
|
require(CONFIG_PATH.'/routers.inc.php'); |
|
|