projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BriskDB and DBConn classes now have a static constructor method that can be failed
[brisk.git]
/
web
/
briskin5
/
index_wr.php
diff --git
a/web/briskin5/index_wr.php
b/web/briskin5/index_wr.php
index
5045a54
..
6c27840
100644
(file)
--- a/
web/briskin5/index_wr.php
+++ b/
web/briskin5/index_wr.php
@@
-495,7
+495,8
@@
else if ($user->stat == 'table') {
require_once("../Obj/dbase_".$G_dbasetype.".phh");
log_points($curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
require_once("../Obj/dbase_".$G_dbasetype.".phh");
log_points($curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
- $bdb = new BriskDB();
+ // FIXME: now create can return FALSE
+ $bdb = BriskDB::create();
$bdb->bin5_points_save($curtime, $table->table_token, $user->table_orig, $ucodes, $pt_cur);
unset($bdb);
}
$bdb->bin5_points_save($curtime, $table->table_token, $user->table_orig, $ucodes, $pt_cur);
unset($bdb);
}