Browse Source

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@36 4cb57b5f-5bbd-dd11-951b-001d605cbbc5

master
ejikharev 16 years ago
parent
commit
17407d560f
  1. 1
      init/init.inc.php

1
init/init.inc.php

@ -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');

Loading…
Cancel
Save