From 0d04965b62daa3f867aeebfac26900f1dad604d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 28 Aug 2008 16:00:02 +0000 Subject: [PATCH] Debug code removed --- inc/mysql-manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 7d31c307dc..ca2a83d8ee 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -395,7 +395,7 @@ function IS_ADMIN($admin="") { global $cacheArray, $_CONFIG; $ret = false; $passCookie = ""; $valPass = ""; - /* DEBUG: */ echo __LINE__."ADMIN:".$admin."
"; + //* DEBUG: */ echo __LINE__."ADMIN:".$admin."
"; // If admin login is not given take current from cookies... if ((empty($admin)) && (isSessionVariableSet('admin_login')) && (isSessionVariableSet('admin_md5'))) { @@ -403,7 +403,7 @@ function IS_ADMIN($admin="") $admin = SQL_ESCAPE(get_session('admin_login')); $passCookie = SQL_ESCAPE(get_session('admin_md5')); } - /* DEBUG: */ echo __LINE__."ADMIN:".$admin."/".$passCookie."
"; + //* DEBUG: */ echo __LINE__."ADMIN:".$admin."/".$passCookie."
"; // Search in array for entry if ((!empty($passCookie)) && (isset($cacheArray['admins']['password'][$admin])) && (!empty($admin))) { -- 2.39.5