mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
API - THEME_LAYOUT warning removal, minor improvement
This commit is contained in:
parent
a8e0abd079
commit
a31c62c2a4
10
class2.php
10
class2.php
@ -9,9 +9,9 @@
|
||||
* General purpose file
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
* $Revision: 1.132 $
|
||||
* $Date: 2009-08-20 13:54:40 $
|
||||
* $Author: e107coders $
|
||||
* $Revision: 1.133 $
|
||||
* $Date: 2009-08-27 12:56:23 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
//
|
||||
@ -1107,13 +1107,15 @@ if(!defined("THEME_LAYOUT"))
|
||||
{
|
||||
foreach($cusPagePref as $lyout=>$cusPageArray)
|
||||
{
|
||||
if(!is_array($cusPageArray)) { break; }
|
||||
|
||||
foreach($cusPageArray as $kpage)
|
||||
{
|
||||
if ($kpage && (strstr(e_SELF, $kpage) || strstr(e_SELF."?".e_QUERY,$kpage)))
|
||||
{
|
||||
// $def = ($lyout) ? $lyout : "legacyCustom";
|
||||
$def = $lyout;
|
||||
break;
|
||||
break 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user