From fb9793d12fce47dbf63b6d2a7d9d6cb63b9a2ed6 Mon Sep 17 00:00:00 2001 From: mikelittle Date: Sat, 24 May 2003 21:28:33 +0000 Subject: [PATCH] Moved admin file git-svn-id: http://svn.automattic.com/wordpress/trunk@79 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- {b2-include => wp-admin}/b2verifauth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename {b2-include => wp-admin}/b2verifauth.php (86%) diff --git a/b2-include/b2verifauth.php b/wp-admin/b2verifauth.php similarity index 86% rename from b2-include/b2verifauth.php rename to wp-admin/b2verifauth.php index 34d0237986..5152610ce7 100644 --- a/b2-include/b2verifauth.php +++ b/wp-admin/b2verifauth.php @@ -31,15 +31,15 @@ function veriflog() { return false; } else { $res=mysql_fetch_row($result); - if ($res[0]==$user_login && md5($res[1])==$user_pass_md5) { + if ($res[0] == $user_login && md5($res[1]) == $user_pass_md5) { return true; } else { return false; } } } -#if ( $user_login!="" && $user_pass!="" && $id_session!="" && $adresse_ip==$REMOTE_ADDR) { -# if ( !(veriflog()) AND !(verifcookielog()) ) { +//if ( $user_login!="" && $user_pass!="" && $id_session!="" && $adresse_ip==$REMOTE_ADDR) { +// if ( !(veriflog()) AND !(verifcookielog()) ) { if (!(veriflog())) { header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); @@ -51,5 +51,5 @@ function veriflog() { include("b2login.php"); exit(); } -#} +//} ?> \ No newline at end of file