Moved admin file

git-svn-id: http://svn.automattic.com/wordpress/trunk@79 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-05-24 21:28:33 +00:00
parent 61b13875af
commit fb9793d12f
1 changed files with 4 additions and 4 deletions

View File

@ -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();
}
#}
//}
?>