mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
Display error message if config.local.php is not writable
This commit is contained in:
@@ -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;
|
||||
},
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user