From: Matteo Nastasi (mop) Date: Tue, 5 Feb 2013 17:38:50 +0000 (+0100) Subject: aborted function removed X-Git-Tag: v4.7.1~18 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=b000085f6c20397e104ae63a05a1dc9943ca9b6a;p=brisk.git aborted function removed --- diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index fdd578f..9f22a62 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -803,29 +803,6 @@ class Bin5 { var $delay_mgr; - static function page_manager($room, $header_out, $path, $method, $addr, $get, $post, $cookie) - { - switch ($path) { - case "": - case "index.php": - ob_start(); - bin5_index_main($room, $header_out, $addr, $get, $post, $cookie); - $content = ob_get_contents(); - ob_end_clean(); - - force_no_cache($header_out); - - $pgflush = new PageFlush($new_socket, $curtime, 20, $header_out, $content); - - if ($pgflush->try_flush($curtime) == FALSE) { - // Add $pgflush to the pgflush array - array_push($pages_flush, $pgflush); - } - break; - } - return TRUE; - } - function Bin5 ($room, $table_idx, $table_token, $get, $post, $cookie) { $this->user = array(); $this->table = array(); diff --git a/web/index_wr.php b/web/index_wr.php index a079438..e2f67ea 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -93,7 +93,7 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie) if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE) $sess = ""; - + if (DEBUGGING == "local" && $remote_addr != '127.0.0.1') { echo "Debugging time!"; return (FALSE);