From 186272b05639a92550fc054036b221f8d2de71ed Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 15 Apr 2017 09:05:11 -0700 Subject: [PATCH] Issue #2563 - fix for root namespace and index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 61119aaaa..9793f84eb 100644 --- a/index.php +++ b/index.php @@ -104,7 +104,7 @@ $req = (e_HTTP === '/') ? ltrim(e_REQUEST_URI,'/') : str_replace(e_HTTP,'', e_REQUEST_URI) ; - if(count($tmp) && !empty($req)) + if(count($tmp) && !empty($req) && $req !== 'index.php') { $rootNamespace = e107::getPref('url_main_module'); $replaceAlias = array('{alias}\/?','{alias}/?','{alias}\/','{alias}/',);