X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=1294ad6b69808d797deee2c1aa7a452b61d6b424;hb=123416d979e44c2cf3403fffc23fe99c8d6d80d5;hp=dfc671f9b9203fdcd2f22c098c9f4f780648bcac;hpb=92c5ac9505608504a33b757a2f0f1c1a0fcd86ad;p=brisk.git diff --git a/web/index.php b/web/index.php index dfc671f..1294ad6 100644 --- a/web/index.php +++ b/web/index.php @@ -182,13 +182,6 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati require_once("briskin5/Obj/briskin5.phh"); -if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { - echo "Debugging time!"; - exit; -} - -log_load("index.php"); - function poll_dom() { GLOBAL $G_with_poll, $G_poll_title, $G_poll_entries; @@ -231,7 +224,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie) GLOBAL $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER; if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE) - unset($sess); + $sess = ""; if (($name = gpcs_var('name', $get, $post, $cookie)) === FALSE) unset($name); if (($pass_private = gpcs_var('pass_private', $get, $post, $cookie)) === FALSE)