1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #145 - frontpage theme layout detection bug

This commit is contained in:
SecretR
2014-07-24 20:44:17 +03:00
parent d3450a5e4a
commit 3f3aa29131

View File

@@ -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)
{