Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser

This commit is contained in:
skodak 2006-08-01 07:46:19 +00:00
parent 0c23b59c9b
commit 583fad994c
7 changed files with 173 additions and 10 deletions

View file

@ -4089,6 +4089,12 @@ function error ($message, $link='') {
for ($i=0;$i<512;$i++) { // Padding to help IE work with 404
echo ' ';
}
// clean upgrade indicator if needed; buffer and log file will be closed automatically
if (!empty($_SESSION['upgraderunning'])) {
$_SESSION['upgraderunning'] = 0;
}
die;
}