projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftok in briskin5 constructor
[brisk.git]
/
web
/
briskin5
/
Obj
/
briskin5.phh
diff --git
a/web/briskin5/Obj/briskin5.phh
b/web/briskin5/Obj/briskin5.phh
index
778f67b
..
7805b2f
100644
(file)
--- a/
web/briskin5/Obj/briskin5.phh
+++ b/
web/briskin5/Obj/briskin5.phh
@@
-15,6
+15,11
@@
class Briskin5 {
$this->user = array();
$this->table = array();
$this->user = array();
$this->table = array();
+ if (($this->tok = ftok(FTOK_PATH."/table".$table_idx, "B")) == -1) {
+ echo "FTOK FAILED";
+ exit;
+ }
+
$user =& $room->user;
$table =& $room->table[$table_idx];
$user =& $room->user;
$table =& $room->table[$table_idx];