diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-08-23 17:24:40 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-08-23 17:24:40 +0000 |
commit | 2cd45dd574b736ebb54a913c101fb9dc4ab5f415 (patch) | |
tree | 3287c46aae77ab9882b7ef7822681b628cd585ee | |
parent | 4d7b9b76fafece5273c78a69027451ed2d28d705 (diff) | |
download | forums-2cd45dd574b736ebb54a913c101fb9dc4ab5f415.tar forums-2cd45dd574b736ebb54a913c101fb9dc4ab5f415.tar.gz forums-2cd45dd574b736ebb54a913c101fb9dc4ab5f415.tar.bz2 forums-2cd45dd574b736ebb54a913c101fb9dc4ab5f415.tar.xz forums-2cd45dd574b736ebb54a913c101fb9dc4ab5f415.zip |
fix a small glitch in phpbb_chmod
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8784 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index d69aa3b7cd..b3fbd94159 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -566,7 +566,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ) case 'owner': $result = @chmod($filename, ($owner << 6) + (0 << 3) + (0 << 0)); - if (!is_null($php) || (!is_readable($filename) && is_writable($filename))) + if (!is_null($php) || (is_readable($filename) && is_writable($filename))) { break; } |