define(FTOK_PATH, "/var/lib/brisk");
define(LEGAL_PATH, "/tmp/legal_brisk");
define(PROXY_PATH, "/var/lib/brisk_proxy");
-define(TABLES_N, 12);
+define(TABLES_N, 20);
define(PLAYERS_N, 3);
define(MAX_POINTS, 5);
define(MAX_PLAYERS, (20 + (PLAYERS_N * TABLES_N)));
else {
ignore_user_abort(TRUE);
$sem = Briskin5::lock_data($table_idx);
- $bri = &Briskin5::load_data($table_idx, $table_token);
+ if (($bri = &Briskin5::load_data($table_idx, $table_token)) == FALSE) {
+ Briskin5::unlock_data($sem);
+ ignore_user_abort(FALSE);
+ return (unrecerror());
+ }
if (($user = &$bri->get_user($sess, $idx)) == FALSE) {
Briskin5::unlock_data($sem);
ignore_user_abort(FALSE);