mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°2311 - Login Page extensibility
This commit is contained in:
@@ -117,8 +117,7 @@ class ApplicationInstaller
|
||||
try
|
||||
{
|
||||
$fStart = microtime(true);
|
||||
// Enter in maintenance mode
|
||||
@touch(APPROOT.'.maintenance');
|
||||
SetupUtils::EnterMaintenanceMode();
|
||||
switch ($sStep)
|
||||
{
|
||||
case '':
|
||||
@@ -341,15 +340,13 @@ class ApplicationInstaller
|
||||
'percentage-completed' => 100,
|
||||
);
|
||||
}
|
||||
// Exit maintenance mode
|
||||
@unlink(APPROOT.'.maintenance');
|
||||
SetupUtils::ExitMaintenanceMode();
|
||||
$fDuration = round(microtime(true) - $fStart, 2);
|
||||
SetupPage::log_info("##### STEP {$sStep} duration: {$fDuration}s");
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
// Exit maintenance mode
|
||||
@unlink(APPROOT.'.maintenance');
|
||||
SetupUtils::ExitMaintenanceMode();
|
||||
|
||||
$aResult = array(
|
||||
'status' => self::ERROR,
|
||||
|
||||
Reference in New Issue
Block a user