mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Log plugin - Don't consolidate while in admin area. - prevents issues during upgrade also.
This commit is contained in:
@@ -23,6 +23,9 @@ if (vartrue($pref['statActivate']))
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Page to log here
|
// Page to log here
|
||||||
|
|
||||||
|
if(USER_AREA)
|
||||||
|
{
|
||||||
require_once(e_PLUGIN.'log/consolidate.php');
|
require_once(e_PLUGIN.'log/consolidate.php');
|
||||||
$err_flag = '';
|
$err_flag = '';
|
||||||
if (defined('ERR_PAGE_ACTIVE'))
|
if (defined('ERR_PAGE_ACTIVE'))
|
||||||
@@ -31,7 +34,7 @@ if (vartrue($pref['statActivate']))
|
|||||||
if (is_numeric(e_QUERY)) $err_flag .= '/'.substr(e_QUERY,0,10); // This should pick up the error code - and limit numeric length to upset the malicious
|
if (is_numeric(e_QUERY)) $err_flag .= '/'.substr(e_QUERY,0,10); // This should pick up the error code - and limit numeric length to upset the malicious
|
||||||
$err_flag .= "&err_referer=".$_SERVER['HTTP_REFERER'];
|
$err_flag .= "&err_referer=".$_SERVER['HTTP_REFERER'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
$logJS = "
|
$logJS = "
|
||||||
function rstr2b64(input)
|
function rstr2b64(input)
|
||||||
|
Reference in New Issue
Block a user