From ce8c337b12dc91f2614cc75ff98313f467db1bf6 Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 15 Mar 2011 14:25:55 +0000 Subject: [PATCH] mod_rewrite support for theme layout detection --- class2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/class2.php b/class2.php index f710186a2..3cc369a90 100644 --- a/class2.php +++ b/class2.php @@ -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; }