git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@36 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -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');
|
||||||
|
Reference in New Issue
Block a user