diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-08-13 17:10:35 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-08-13 17:10:35 +0200 |
commit | 89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3 (patch) | |
tree | 79d7f64bcfbf3930e9f19f857b3d1c7363d1a487 /phpBB/includes/functions.php | |
parent | 884cc2ac9b49ba88e448764b5e91cb99cf79df81 (diff) | |
download | forums-89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3.tar forums-89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3.tar.gz forums-89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3.tar.bz2 forums-89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3.tar.xz forums-89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3.zip |
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
PHPBB3-9519
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index bc3d721de5..ba20b60737 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -701,7 +701,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; } @@ -711,7 +711,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; } @@ -721,7 +721,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; } |