mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +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.
|
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)
|
foreach($cusPagePref as $lyout=>$cusPageArray)
|
||||||
{
|
{
|
||||||
if(!is_array($cusPageArray)) { continue; }
|
if(!is_array($cusPageArray)) { continue; }
|
||||||
|
Reference in New Issue
Block a user