mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Fixes #145 - frontpage theme layout detection bug
This commit is contained in:
parent
d3450a5e4a
commit
3f3aa29131
@ -1130,7 +1130,7 @@ if(!defined("THEME_LAYOUT"))
|
||||
//e_SELF.(e_QUERY ? '?'.e_QUERY : '');
|
||||
$c_url = str_replace(array('&'), array('&'), e_REQUEST_URL);//.(e_QUERY ? '?'.e_QUERY : '');// mod_rewrite support
|
||||
// FIX - check against urldecoded strings
|
||||
$c_url = rawurldecode($c_url);
|
||||
$c_url = rtrim(rawurldecode($c_url), '?');
|
||||
|
||||
foreach($cusPagePref as $lyout=>$cusPageArray)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user