mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
mod_rewrite support for theme layout detection
This commit is contained in:
@@ -908,7 +908,8 @@ if(!defined("THEME_LAYOUT"))
|
||||
|
||||
if(is_array($cusPagePref) && count($cusPagePref)>0) // check if we match a page in layout custompages.
|
||||
{
|
||||
$c_url = e_SELF.(e_QUERY ? '?'.e_QUERY : ''); //TODO rewritten URLs?
|
||||
//e_SELF.(e_QUERY ? '?'.e_QUERY : '');
|
||||
$c_url = e_REQUEST_URL;// mod_rewrite support
|
||||
foreach($cusPagePref as $lyout=>$cusPageArray)
|
||||
{
|
||||
if(!is_array($cusPageArray)) { continue; }
|
||||
|
Reference in New Issue
Block a user