aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/index.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-08-13 17:10:35 +0200
committerJoas Schilling <nickvergessen@gmx.de>2010-08-13 17:10:35 +0200
commit89b35f7ab9e9dc425d7fcac9cca3ea71da24b8d3 (patch)
tree79d7f64bcfbf3930e9f19f857b3d1c7363d1a487 /phpBB/adm/index.php
parent884cc2ac9b49ba88e448764b5e91cb99cf79df81 (diff)
downloadforums-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/adm/index.php')
-rw-r--r--phpBB/adm/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 26f934f6bf..4c568cf441 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -533,7 +533,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
// Check if the path is writable
if ($config_definition['validate'] == 'wpath' || $config_definition['validate'] == 'rwpath')
{
- if (file_exists($phpbb_root_path . $cfg_array[$config_name]) && !@is_writable($phpbb_root_path . $cfg_array[$config_name]))
+ if (file_exists($phpbb_root_path . $cfg_array[$config_name]) && !phpbb_is_writable($phpbb_root_path . $cfg_array[$config_name]))
{
$error[] = sprintf($user->lang['DIRECTORY_NOT_WRITABLE'], $cfg_array[$config_name]);
}