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