X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=8b82a48588752af0ccc132e78246b3cf03f2554c;hb=refs%2Ftags%2F3.6.2;hp=6da86a85c0f0c7a62f4ff1757cf2c99507dbdc2c;hpb=2e7430e0fc225c96177e7886071960d093ffd89e;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 6da86a8..8b82a48 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -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); }