mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
Moved admin file
git-svn-id: http://svn.automattic.com/wordpress/trunk@79 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
61b13875af
commit
fb9793d12f
@ -31,15 +31,15 @@ function veriflog() {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
$res=mysql_fetch_row($result);
|
$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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if ( $user_login!="" && $user_pass!="" && $id_session!="" && $adresse_ip==$REMOTE_ADDR) {
|
//if ( $user_login!="" && $user_pass!="" && $id_session!="" && $adresse_ip==$REMOTE_ADDR) {
|
||||||
# if ( !(veriflog()) AND !(verifcookielog()) ) {
|
// if ( !(veriflog()) AND !(verifcookielog()) ) {
|
||||||
if (!(veriflog())) {
|
if (!(veriflog())) {
|
||||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
@ -51,5 +51,5 @@ function veriflog() {
|
|||||||
include("b2login.php");
|
include("b2login.php");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
#}
|
//}
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user