From 346246e63cf847d3d068ef0057e0488fada5e206 Mon Sep 17 00:00:00 2001 From: hecht Date: Fri, 6 Jan 2012 11:36:07 +0000 Subject: [PATCH] now irc can be used, even if not logged in --- ag/include/config.inc.php | 4 ++-- ag/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ag/include/config.inc.php b/ag/include/config.inc.php index 5b0cb29..16b8170 100644 --- a/ag/include/config.inc.php +++ b/ag/include/config.inc.php @@ -43,7 +43,7 @@ $name = validateName($_COOKIE['name']); $passwort = validateString($_COOKIE['passwort']); $usergroups = getUserGroups($name); -if(!isUserInGroup($usergroups, ADMIN) && time() < mktime(18, 0, 0, 1, 6, 2012)) { +if(!isUserInGroup($usergroups, ADMIN) && time() < mktime(22, 10, 0, 1, 4, 2012)) { $passwort = null; } @@ -90,4 +90,4 @@ $pic_g31 = 75; ///////////Bild Groesse } } */ -?> \ No newline at end of file +?> diff --git a/ag/index.php b/ag/index.php index 3f1b8fc..4a72023 100644 --- a/ag/index.php +++ b/ag/index.php @@ -314,7 +314,7 @@ $agb = $_REQUEST['agb']; if(file_exists($as.'.php')) { -if($as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info/agb" AND $as != "pw" AND $as != "aktiv" AND $as != 'impressum' AND $as != 'support' AND $POLOE == 1) { +if($as != "irc" AND $as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info/agb" AND $as != "pw" AND $as != "aktiv" AND $as != 'impressum' AND $as != 'support' AND $POLOE == 1) { echo "Passwort falsch oder Account nicht aktiviert!"; } else { //if($banned_accs > 0) {