mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2240 - Supportability - Maintenance mode
This commit is contained in:
@@ -1838,7 +1838,7 @@ EOF
|
||||
|
||||
public final static function EnterMaintenanceMode($oConfig)
|
||||
{
|
||||
@touch(APPROOT.'.maintenance');
|
||||
@touch(MAINTENANCE_MODE_FILE);
|
||||
SetupPage::log("----> Entering maintenance mode");
|
||||
try
|
||||
{
|
||||
@@ -1872,7 +1872,7 @@ EOF
|
||||
|
||||
public final static function ExitMaintenanceMode($bLog = true)
|
||||
{
|
||||
@unlink(APPROOT.'.maintenance');
|
||||
@unlink(MAINTENANCE_MODE_FILE);
|
||||
if ($bLog)
|
||||
{
|
||||
SetupPage::log("<---- Exiting maintenance mode");
|
||||
|
||||
Reference in New Issue
Block a user