From: Matteo Nastasi Date: Fri, 3 Aug 2012 06:58:53 +0000 (+0200) Subject: series of typo fixed X-Git-Tag: v4.0.0~62 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=286da1eb1ec912c9d2c49a132f555b10e0084e53 series of typo fixed --- diff --git a/web/index.php b/web/index.php index dfc671f..84c3ce6 100644 --- a/web/index.php +++ b/web/index.php @@ -231,7 +231,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) diff --git a/web/index_wr.php b/web/index_wr.php index ea74d07..caf406f 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -81,7 +81,7 @@ $mlang_indwr = array( 'btn_backtotab' => array( 'it' => 'Torna ai tavoli.', function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) { - GLOBAL $G_black_list, $G_lang, $G_room_help, $G_room_about, $mlang_indwr; + GLOBAL $G_shutdown, $G_black_list, $G_lang, $G_room_help, $G_room_about, $mlang_indwr; log_load("index_wr.php"); @@ -346,7 +346,7 @@ function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) $dobreak = FALSE; do { - log_wr("INFO:SKIP:argz == poll name: [".$cli_name."] AUTH: ".($user->flags & USER_FLAG_AUTH)); + log_wr("INFO:SKIP:argz == poll name: [".$cli_poll_name."] AUTH: ".($user->flags & USER_FLAG_AUTH)); if (($user->flags & USER_FLAG_AUTH) != USER_FLAG_AUTH) { // MLANG: Per partecipare al sondaggio devi essere autenticato. $mesg_to_user = sprintf('chatt_sub("%s", [2, "%s"],"%s");', $dt, NICKSERV, $mlang_indwr['pollmust'][$G_lang]); @@ -572,8 +572,6 @@ function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) if ($table->player_n == PLAYERS_N) { log_wr("WARN:FSM: Sitdown unreachable, table full."); return FALSE; - Room::unlock_data($sem); - exit; } // set new status @@ -595,7 +593,7 @@ function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) // // Create new spawned table - $bri_sem = Bin5::lock_data(TRUE, $table_idx); + // $bri_sem = Bin5::lock_data(TRUE, $table_idx); $table_token = uniqid(""); $room->table[$table_idx]->table_token = $table_token; $room->table[$table_idx]->table_start = $curtime; diff --git a/web/spush/brisk-spush.php b/web/spush/brisk-spush.php index 6e0773e..6b84d9d 100755 --- a/web/spush/brisk-spush.php +++ b/web/spush/brisk-spush.php @@ -98,7 +98,6 @@ function headers_render($header, $len) * Caching system using ob php system to cache old style pages * to a var and than send it with more calm */ -$G_headers = ""; function shutta() { @@ -110,7 +109,6 @@ register_shutdown_function('shutta'); /* * MAIN */ -$shutdown = FALSE; function chunked_content($content) {