N°2135 - Setup callbacks for MTP

This commit is contained in:
Eric
2019-11-13 17:33:56 +01:00
parent fdf5cff12a
commit 30430bb7dc
2 changed files with 6 additions and 1 deletions

View File

@@ -2007,7 +2007,7 @@ class Config
$bReturn = fclose($hFile);
MetaModel::LoadConfig($this);
utils::SetConfig($this);
FileLog::RenameLegacyLogFiles();
return $bReturn;

View File

@@ -327,6 +327,11 @@ class RunTimeEnvironment
}
/**
* @param Config $oConfig
*
* @throws \Exception
*/
public function WriteConfigFileSafe($oConfig)
{
self::MakeDirSafe(APPCONF);