projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a49da9
)
Debug code removed
author
Roland Häder
<roland@mxchange.org>
Thu, 28 Aug 2008 16:00:02 +0000
(16:00 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 28 Aug 2008 16:00:02 +0000
(16:00 +0000)
inc/mysql-manager.php
patch
|
blob
|
history
diff --git
a/inc/mysql-manager.php
b/inc/mysql-manager.php
index 7d31c307dc4fb3dab415f48ff8eafbe40c85d916..ca2a83d8eee5b4ae7ca0fbccfbc9692c59fe06ec 100644
(file)
--- 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 = "";
{
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'))) {
// 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'));
}
$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))) {
// Search in array for entry
if ((!empty($passCookie)) && (isset($cacheArray['admins']['password'][$admin])) && (!empty($admin))) {