From 17407d560fc72c8fce70ff716131ca7f9f211a4c Mon Sep 17 00:00:00 2001 From: ejikharev Date: Wed, 24 Dec 2008 11:21:33 +0000 Subject: [PATCH] git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@36 4cb57b5f-5bbd-dd11-951b-001d605cbbc5 --- init/init.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/init/init.inc.php b/init/init.inc.php index b90ea80..d979ac7 100644 --- a/init/init.inc.php +++ b/init/init.inc.php @@ -14,6 +14,7 @@ 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');