mirror of
https://github.com/e107inc/e107.git
synced 2025-07-19 14:01:15 +02:00
Fixes #2563 - Root namespace and e_url.
This commit is contained in:
@@ -103,7 +103,8 @@
|
||||
|
||||
$req = (e_HTTP === '/') ? ltrim(e_REQUEST_URI,'/') : str_replace(e_HTTP,'', e_REQUEST_URI) ;
|
||||
|
||||
if(count($tmp))
|
||||
|
||||
if(count($tmp) && !empty($req))
|
||||
{
|
||||
$rootNamespace = e107::getPref('url_main_module');
|
||||
$replaceAlias = array('{alias}\/?','{alias}/?','{alias}\/','{alias}/',);
|
||||
@@ -320,7 +321,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
include_once(HEADERF);
|
||||
eFront::instance()->getResponse()->send('default', false, true);
|
||||
include_once(FOOTERF);
|
||||
|
Reference in New Issue
Block a user