* adjust for cache dao.
This commit is contained in:
@@ -56,12 +56,12 @@ if($config->requestType == 'PATH_INFO')
|
||||
else
|
||||
{
|
||||
parse_str($request['query'], $_GET);
|
||||
$_SERVER['SCRIPT_NAME'] = $_SERVER['HTTP_HOST'] . 'index.php';
|
||||
$_SERVER['SCRIPT_NAME'] = $request['path'];
|
||||
$_SERVER['REQUEST_URI'] = isset($request['query']) ? $request['query'] : '';
|
||||
}
|
||||
|
||||
/* Instance the app and run it. */
|
||||
$app = router::createApp('pms', dirname(dirname(__FILE__)));
|
||||
$app = router::createApp('pms', dirname(dirname(__FILE__)), 'router');
|
||||
$common = $app->loadCommon();
|
||||
$app->parseRequest();
|
||||
$app->loadModule();
|
||||
|
||||
Reference in New Issue
Block a user