mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9768 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -915,6 +915,11 @@ class install_update extends module
|
||||
// Now init the connection
|
||||
if ($update_mode == 'download')
|
||||
{
|
||||
if (function_exists('phpbb_is_writable') && !phpbb_is_writable($phpbb_root_path . 'store/'))
|
||||
{
|
||||
trigger_error(sprintf($user->lang['DIRECTORY_NOT_WRITABLE'], $phpbb_root_path . 'store/'), E_USER_ERROR);
|
||||
}
|
||||
|
||||
if ($use_method == '.zip')
|
||||
{
|
||||
$compress = new compress_zip('w', $phpbb_root_path . 'store/' . $archive_filename . $use_method);
|
||||
|
Reference in New Issue
Block a user