app->scoped(Setting::class, function (Application $app) { return new Setting(); }); } /** * Bootstrap services. * * @return void */ public function boot() { // dpl keeps its existing environment and database settings. if (\App\Support\SiteProfile::isHn()) { config(['app.name' => config('site.name'), 'app.full_name' => config('site.full_name')]); } // App URL is forced per-request via middleware (Octane-safe). } }