Display error message if config.local.php is not writable

This commit is contained in:
slawkens
2024-02-04 10:10:04 +01:00
parent e2487f97e3
commit 647eae08b4
2 changed files with 9 additions and 4 deletions

View File

@@ -1651,7 +1651,12 @@ Sent by MyAAC,<br/>
}
}
return Settings::saveConfig($configToSave, BASE . 'config.local.php');
$success = Settings::saveConfig($configToSave, BASE . 'config.local.php');
if (!$success) {
error('There has been error saving the config.local.php - probably problem with permissions.');
}
return $success;
},
],
];