X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=7805b2fba22ac72d1ebc0788253b7aeea2de81d9;hb=06dda19a43945c3d204484350ca4bc9eed4e0d47;hp=778f67b4aee82a4dfbe31202cb9e5f1f8b56137a;hpb=ee1b4df5c8669ddc8749520085f4fb7525f9acd8;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 778f67b..7805b2f 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -15,6 +15,11 @@ class Briskin5 { $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];