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}/',);