aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-08-28 23:34:18 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-08-28 23:34:18 +0200
commite4ff780c1370d9f743da0fffc70b98be0c7cfe92 (patch)
tree00738becf05268632411007a93ff06407ca1917a /phpBB/install/install_install.php
parentc4a65a469709a8ffdeb52f9d3556545993f2347a (diff)
parentdbe8fb6488005c3295f839c7302a56f1de872426 (diff)
downloadforums-e4ff780c1370d9f743da0fffc70b98be0c7cfe92.tar
forums-e4ff780c1370d9f743da0fffc70b98be0c7cfe92.tar.gz
forums-e4ff780c1370d9f743da0fffc70b98be0c7cfe92.tar.bz2
forums-e4ff780c1370d9f743da0fffc70b98be0c7cfe92.tar.xz
forums-e4ff780c1370d9f743da0fffc70b98be0c7cfe92.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9117] Wrong redirection after login. [ticket/9772] Unify permissions for sending email when board_email_form is off [ticket/7369] CPF date should always render the users selection. [ticket/7296] Exporting styles to tar creates corrupted archives. [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/install/install_install.php')
-rw-r--r--phpBB/install/install_install.php4
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;