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:
@@ -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}/',);
|
||||
|
Reference in New Issue
Block a user