X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=8b82a48588752af0ccc132e78246b3cf03f2554c;hb=0c0725455c4c965b8eafeb7dad0453b7cd0e4ac0;hp=89385a20a859f594fe88e6f1f4a14979b516aa42;hpb=fda577257a10dc76c0326926b0d544f1897d1e2c;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 89385a2..8b82a48 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -74,7 +74,7 @@ define(DBG_LMOP, 0x0800); define(DBG_TRAC, 0x1000); define(DBG_SHME, 0x2000); // NOTE: BRISK DEBUG must be a numerical constant, not the result of operations on symbols -define(BRISK_DEBUG, 0xffffffbf); +define(BRISK_DEBUG, 0x0800); define(BRISK_SINGLE_DEBUG,0); define(BRISK_SINGLE_SESS, ""); @@ -292,7 +292,7 @@ function mop_flush() function file_lock($fname, $is_exclusive) { - if (($res = fopen($fname, "r+")) == FALSE) { + if (($res = @fopen($fname, "r+")) == FALSE) { return (FALSE); } @@ -886,7 +886,7 @@ class User { if (validate_sess($this->sess)) { if (file_exists(PROXY_PATH) == FALSE) mkdir(PROXY_PATH, 0775, TRUE); - $fp = fopen(PROXY_PATH."/".$this->sess.".stat", 'w'); + $fp = @fopen(PROXY_PATH."/".$this->sess.".stat", 'w'); fwrite($fp, sprintf("%s\n",$this->stat)); fclose($fp); }