mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-30 11:20:28 +00:00
Changed cookie name to avoid conflict with parallel b2 installations.
git-svn-id: https://develop.svn.wordpress.org/trunk@69 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,9 +11,9 @@ function veriflog() {
|
||||
global $HTTP_COOKIE_VARS;
|
||||
global $tableusers,$tablesettings,$tablecategories,$tableposts,$tablecomments;
|
||||
|
||||
if (!empty($HTTP_COOKIE_VARS["cafeloguser"])) {
|
||||
$user_login = $HTTP_COOKIE_VARS["cafeloguser"];
|
||||
$user_pass_md5 = $HTTP_COOKIE_VARS["cafelogpass"];
|
||||
if (!empty($HTTP_COOKIE_VARS["wordpressuser"])) {
|
||||
$user_login = $HTTP_COOKIE_VARS["wordpressuser"];
|
||||
$user_pass_md5 = $HTTP_COOKIE_VARS["wordpresspass"];
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
@@ -45,7 +45,7 @@ function veriflog() {
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
header("Cache-Control: no-cache, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
if (!empty($HTTP_COOKIE_VARS["cafeloguser"])) {
|
||||
if (!empty($HTTP_COOKIE_VARS["wordpressuser"])) {
|
||||
$error="<b>Error</b>: wrong login or password";
|
||||
}
|
||||
include("b2login.php");
|
||||
|
||||
Reference in New Issue
Block a user