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

minor bugs, notice cleanup, missing e_SELF/e_QUERY fixes

This commit is contained in:
secretr
2011-12-06 09:44:28 +00:00
parent 270b278f43
commit ab4501edd2
10 changed files with 21 additions and 19 deletions

View File

@@ -956,7 +956,7 @@ if(!defined("THEME_LAYOUT"))
continue;
}
if ($kpage && ($kpage == e_PAGE || strpos($c_url, $kpage) !== false))
if ($kpage && ($kpage == defset('e_PAGE') || strpos($c_url, $kpage) !== false))
{
// $def = ($lyout) ? $lyout : "legacyCustom";
$def = $lyout;
@@ -1078,7 +1078,8 @@ define('INIT', true);
if(isset($_SERVER['HTTP_REFERER']))
{
$tmp = explode("?", $_SERVER['HTTP_REFERER']);
define('e_REFERER_SELF',($tmp[0] == e_SELF));
define('e_REFERER_SELF',($tmp[0] == e_REQUEST_SELF));
unset($tmp);
}
else
{