mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
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().
This commit is contained in:
@@ -835,7 +835,7 @@ class install_convert extends module
|
||||
$this->p_master->error($user->lang['DEV_NO_TEST_FILE'], __LINE__, __FILE__);
|
||||
}
|
||||
|
||||
if (!$local_path || !@is_writable($phpbb_root_path . $local_path))
|
||||
if (!$local_path || !phpbb_is_writable($phpbb_root_path . $local_path))
|
||||
{
|
||||
if (!$local_path)
|
||||
{
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user