#18865278 : out page path problem fixed

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7467 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-18 07:55:57 +00:00
parent 45dba7b1fd
commit a34a0674ec

View file

@ -86,8 +86,8 @@
}
Context::set('site_module_info', $site_module_info);
if($site_module_info->site_srl && isSiteID($site_module_info->domain)) Context::set('vid', $site_module_info->domain, true);
if($site_module_info->site_srl && isSiteID($site_module_info->domain)) Context::set('vid', $site_module_info->domain);
$this->db_info->lang_type = $site_module_info->default_language;
if(!$this->db_info->lang_type) $this->db_info->lang_type = 'en';
}
@ -1537,7 +1537,7 @@
$xe = _XE_PATH_;
$path = strtr($path, "\\", "/");
$base_url = preg_replace('@^https?://[^/]+/+@', '', Context::getDefaultUrl());
$base_url = preg_replace('@^https?://[^/]+/?@', '', Context::getRequestUri());
$_xe = explode('/', $xe);
$_path = explode('/', $path);