|
|
|
|
@ -177,9 +177,9 @@ class AppServiceProvider extends ServiceProvider
|
|
|
|
|
URL::forceRootUrl(config('app.url'));
|
|
|
|
|
|
|
|
|
|
// Enable strict testing in dev/test only (false in production)
|
|
|
|
|
Model::preventLazyLoading(! $this->app->isProduction());
|
|
|
|
|
Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction());
|
|
|
|
|
Model::preventAccessingMissingAttributes(! $this->app->isProduction());
|
|
|
|
|
// Model::preventLazyLoading(! $this->app->isProduction());
|
|
|
|
|
// Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction());
|
|
|
|
|
// Model::preventAccessingMissingAttributes(! $this->app->isProduction());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|