mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-01-06 04:40:13 -06:00
Use updated config helper from framework
This commit is contained in:
@@ -40,7 +40,7 @@ class AdminController extends BaseController {
|
||||
try {
|
||||
if ($check_version) {
|
||||
$new_version = VersionModule::getVersion();
|
||||
$current_version = safe_config('version', '1');
|
||||
$current_version = config('version') ?? '1';
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
addLog(ASATRU_LOG_ERROR, $e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user