Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
Cüneyt Şentürk 2021-08-11 10:10:42 +03:00
commit c0ebf807c1
2 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class App extends Provider
Paginator::useBootstrap();
Model::preventLazyLoading();
Model::preventLazyLoading(config('app.eager_load'));
Model::handleLazyLoadingViolationUsing(function ($model, $relation) {
$class = get_class($model);

View File

@ -18,6 +18,8 @@ return [
'schedule_time' => env('APP_SCHEDULE_TIME', '09:00'),
'eager_load' => (bool) env('APP_EAGER_LOAD', true),
/*
|--------------------------------------------------------------------------
| Application Environment