diff --git a/app/Repositories/SettingRepository.php b/app/Repositories/SettingRepository.php index e6388972..f553efd1 100644 --- a/app/Repositories/SettingRepository.php +++ b/app/Repositories/SettingRepository.php @@ -12,7 +12,7 @@ class SettingRepository extends BaseRepository { public function getList(array $params) { - $results = Setting::get(); + $results = Setting::getFromDb(); $prefix = $params['prefix'] ?? null; if ($prefix) { return [$prefix => Arr::get($results, $prefix, [])]; diff --git a/nexus/Install/install_update_start.php b/nexus/Install/install_update_start.php index c0b4eb81..33a3b973 100644 --- a/nexus/Install/install_update_start.php +++ b/nexus/Install/install_update_start.php @@ -16,3 +16,4 @@ if (file_exists(ROOT_PATH . '.env')) { $withLaravel = true; } define('WITH_LARAVEL', $withLaravel); +\Nexus\Nexus::boot();