1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Issue #2563 - fix for root namespace and index.php

This commit is contained in:
Cameron
2017-04-15 09:05:11 -07:00
parent 45230488e3
commit 186272b056

View File

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