aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-12-19 20:36:18 +0000
committerChris Smith <toonarmy@phpbb.com>2008-12-19 20:36:18 +0000
commita94ed97992ef41c5fe513777aa0d04f57060cbf5 (patch)
treece5660c45f6e46f2f3f857f80d699d1f50bf0730 /phpBB/includes/functions_messenger.php
parentcd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e (diff)
downloadforums-a94ed97992ef41c5fe513777aa0d04f57060cbf5.tar
forums-a94ed97992ef41c5fe513777aa0d04f57060cbf5.tar.gz
forums-a94ed97992ef41c5fe513777aa0d04f57060cbf5.tar.bz2
forums-a94ed97992ef41c5fe513777aa0d04f57060cbf5.tar.xz
forums-a94ed97992ef41c5fe513777aa0d04f57060cbf5.zip
Missing read permission from calls to phpbb_chmod()
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9208 89ea8834-ac86-4346-8a33-228a782c2dd0
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 cbec2582a9..17c59e5274 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -708,7 +708,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- phpbb_chmod($this->cache_file, CHMOD_WRITE);
+ phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
}
}
@@ -749,7 +749,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- phpbb_chmod($this->cache_file, CHMOD_WRITE);
+ phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
}
}
}