diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-08-10 16:11:39 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-08-10 16:11:39 +0200 |
commit | 4c95ed0eeb497d3febe3169614e9385cefa648d2 (patch) | |
tree | c65516aeb9bdb2aa8d8f2a5b111b8e95ddf8b45d /phpBB/install/install_install.php | |
parent | da256b33d93978f672aa07e0e94be585a7d1d2ee (diff) | |
download | forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.gz forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.bz2 forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.xz forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.zip |
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
acm_memory.php is untested. install/install_convert.php and
includes/functions_convert.php are going to be tested and committed afterwards.
PHPBB3-9519
Diffstat (limited to 'phpBB/install/install_install.php')
-rw-r--r-- | phpBB/install/install_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 4c22db07b2..6c23460de9 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -486,7 +486,7 @@ class install_install extends module $write = $exists = true; if (file_exists($phpbb_root_path . $dir)) { - if (!@is_writable($phpbb_root_path . $dir)) + if (!phpbb_is_writable($phpbb_root_path . $dir)) { $write = false; } @@ -906,7 +906,7 @@ class install_install extends module $config_data .= '?' . '>'; // Done this to prevent highlighting editors getting confused! // Attempt to write out the config file directly. If it works, this is the easiest way to do it ... - if ((file_exists($phpbb_root_path . 'config.' . $phpEx) && is_writable($phpbb_root_path . 'config.' . $phpEx)) || is_writable($phpbb_root_path)) + if ((file_exists($phpbb_root_path . 'config.' . $phpEx) && phpbb_is_writable($phpbb_root_path . 'config.' . $phpEx)) || phpbb_is_writable($phpbb_root_path)) { // Assume it will work ... if nothing goes wrong below $written = true; |