summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PHP_DW.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/PHP_DW.php b/PHP_DW.php
index ee6a835..8c20cba 100644
--- a/PHP_DW.php
+++ b/PHP_DW.php
@@ -13,7 +13,7 @@ class PHP_DW {
}
private function __incr_count($filename) {
- $fh = fopen($this->base_count . '/' . $filename . '.cnt', "a+");
+ $fh = @fopen($this->base_count . '/' . $filename . '.cnt', "a+");
if (is_resource($fh) and flock($fh, LOCK_EX)) {
rewind($fh);