{
global $cacheArray, $_CONFIG;
$ret = false; $passCookie = ""; $valPass = "";
- /* DEBUG: */ echo __LINE__."ADMIN:".$admin."<br />";
+ //* DEBUG: */ echo __LINE__."ADMIN:".$admin."<br />";
// If admin login is not given take current from cookies...
if ((empty($admin)) && (isSessionVariableSet('admin_login')) && (isSessionVariableSet('admin_md5'))) {
$admin = SQL_ESCAPE(get_session('admin_login'));
$passCookie = SQL_ESCAPE(get_session('admin_md5'));
}
- /* DEBUG: */ echo __LINE__."ADMIN:".$admin."/".$passCookie."<br />";
+ //* DEBUG: */ echo __LINE__."ADMIN:".$admin."/".$passCookie."<br />";
// Search in array for entry
if ((!empty($passCookie)) && (isset($cacheArray['admins']['password'][$admin])) && (!empty($admin))) {