aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 6ca894d0f2..0666275181 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -695,7 +695,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- @chmod($this->cache_file, 0666);
+ phpbb_chmod($this->cache_file, CHMOD_WRITE);
}
}
@@ -736,7 +736,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- @chmod($this->cache_file, 0666);
+ phpbb_chmod($this->cache_file, CHMOD_WRITE);
}
}
}