X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-admins.php;h=ba5b7225b298bbc04216713bb9127792a6b6034b;hb=c5fbd4afb0965d5f3b504d0547e60affb51d52c7;hp=bc2522d0a94d830ea6ef919862dd14c982441158;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/extensions/ext-admins.php b/inc/extensions/ext-admins.php index bc2522d0a9..ba5b7225b2 100644 --- a/inc/extensions/ext-admins.php +++ b/inc/extensions/ext-admins.php @@ -96,7 +96,7 @@ case "update": // Update an extension $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_admins ADD default_acl enum('deny', 'allow') not null default 'deny'"; // But allow current admin everything (THIS SHALL BE YOU!) - $SQLs[] = "UPDATE "._MYSQL_PREFIX."_admins SET default_acl='allow' WHERE login='".$_COOKIE['admin_login']."' LIMIT 1"; + $SQLs[] = "UPDATE "._MYSQL_PREFIX."_admins SET default_acl='allow' WHERE login='".$_SESSION['admin_login']."' LIMIT 1"; $SQLs[] = "DROP TABLE IF EXISTS "._MYSQL_PREFIX."_admins_acls"; $SQLs[] = "CREATE TABLE "._MYSQL_PREFIX."_admins_acls ( id bigint(20) not null auto_increment, @@ -267,7 +267,7 @@ PRIMARY KEY (id) case "0.6.8": // SQL queries for v0.6.8 // Update notes (these will be set as task text!) - $UPDATE_NOTES = "setcookie() mit @-Zeichen gegen ungewollte Ausgaben abgesichert."; + $UPDATE_NOTES = "set_session() mit @-Zeichen gegen ungewollte Ausgaben abgesichert."; break; case "0.6.9": // SQL queries for v0.6.9 @@ -287,7 +287,7 @@ default: // Do stuff when extension is loaded $EXT_LANG_PREFIX = "admins"; // Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; +$EXT_ALWAYS_ACTIVE = 'N'; // ?>