mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-15 21:44:56 +01:00
Check that we actually have a valid fp
git-svn-id: file:///svn/phpbb/trunk@6440 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
26aba1a1f1
commit
50a0c827ce
@ -750,6 +750,11 @@ class install_install extends module
|
||||
|
||||
// Create a lock file to indicate that there is an install in progress
|
||||
$fp = @fopen($phpbb_root_path . 'cache/install_lock', 'wb');
|
||||
if ($fp === false)
|
||||
{
|
||||
// We were unable to create the lock file - abort
|
||||
$this->p_master->error($lang['UNABLE_WRITE_LOCK'], __LINE__, __FILE__);
|
||||
}
|
||||
@fclose($fp);
|
||||
|
||||
$dbpasswd = html_entity_decode($dbpasswd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user