issue 1563 Modified to reset the external document's location.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10325 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-03-05 10:01:49 +00:00
parent 5d1a991981
commit 344e6b207e

View file

@ -24,6 +24,8 @@
$args = Context::getRequestVars();
$args->module = 'page';
$args->mid = $args->page_name; //because if mid is empty in context, set start page mid
$args->path = (!$args->path) ? '' : $args->path;
$args->mpath = (!$args->mpath) ? '' : $args->mpath;
unset($args->page_name);
if($args->use_mobile != 'Y') $args->use_mobile = '';