aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-08-28 23:25:05 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-08-28 23:25:05 +0200
commitdfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c (patch)
tree9619c778091fe479ec69a20f946fad47470345aa /phpBB/includes/functions.php
parent3c02a1cff70641ae3f5276863242452b6ab06092 (diff)
parent5e330044b87190dcdb66aa3c83932a4c16627692 (diff)
downloadforums-dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c.tar
forums-dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c.tar.gz
forums-dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c.tar.bz2
forums-dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c.tar.xz
forums-dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10c.zip
Merge branch 'ticket/nickvergessen/9519' into develop-olympus
* ticket/nickvergessen/9519: [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable(). [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable(). [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable(). [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 36b9e18176..c4ff998e69 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -718,7 +718,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ)
clearstatcache();
- if (is_readable($filename) && is_writable($filename))
+ if (is_readable($filename) && phpbb_is_writable($filename))
{
break;
}
@@ -728,7 +728,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ)
clearstatcache();
- if ((!($perms & CHMOD_READ) || is_readable($filename)) && (!($perms & CHMOD_WRITE) || is_writable($filename)))
+ if ((!($perms & CHMOD_READ) || is_readable($filename)) && (!($perms & CHMOD_WRITE) || phpbb_is_writable($filename)))
{
break;
}
@@ -738,7 +738,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ)
clearstatcache();
- if ((!($perms & CHMOD_READ) || is_readable($filename)) && (!($perms & CHMOD_WRITE) || is_writable($filename)))
+ if ((!($perms & CHMOD_READ) || is_readable($filename)) && (!($perms & CHMOD_WRITE) || phpbb_is_writable($filename)))
{
break;
}