mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
some fixes... most importantly the ability to update the board with the automatic files while having fsockopen disabled (instead, the update file information will be used, which may be inaccurate if the admin did a mistake).
git-svn-id: file:///svn/phpbb/trunk@7818 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -919,7 +919,7 @@ class install_install extends module
|
||||
// Assume it will work ... if nothing goes wrong below
|
||||
$written = true;
|
||||
|
||||
if (!($fp = @fopen($phpbb_root_path . 'config.'.$phpEx, 'w')))
|
||||
if (!($fp = @fopen($phpbb_root_path . 'config.' . $phpEx, 'w')))
|
||||
{
|
||||
// Something went wrong ... so let's try another method
|
||||
$written = false;
|
||||
@@ -932,6 +932,11 @@ class install_install extends module
|
||||
}
|
||||
|
||||
@fclose($fp);
|
||||
|
||||
if ($written)
|
||||
{
|
||||
@chmod($phpbb_root_path . 'config.' . $phpEx, 0644);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_POST['dldone']))
|
||||
|
Reference in New Issue
Block a user