Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Jan 16, 2023
2 parents 8abf437 + 1dd61c1 commit afcae6a
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 190 deletions.
2 changes: 1 addition & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
if (config('app.db_log_sql', false) === true) {
if (config('database.db_log_sql', false) === true) {
DB::listen(function ($query) {
$msg = $query->sql . ' [' . implode(', ', $query->bindings) . ']';
Log::info($msg);
Expand Down
136 changes: 68 additions & 68 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit afcae6a

Please sign in to comment.