@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $directory, $convertToSeconds, $separateConsoleLog); |
50 | 50 | |
51 | 51 | // listen to database queries |
52 | - $this->app['db']->listen(function ( |
|
52 | + $this->app['db']->listen(function( |
|
53 | 53 | $query, |
54 | 54 | $bindings = null, |
55 | 55 | $time = null |
@@ -69,8 +69,7 @@ discard block |
||
69 | 69 | return [ |
70 | 70 | realpath(__DIR__ . |
71 | 71 | '/../../publish/config/sql_logger.php') => (function_exists('config_path') ? |
72 | - config_path('sql_logger.php') : |
|
73 | - base_path('config/sql_logger.php')), |
|
72 | + config_path('sql_logger.php') : base_path('config/sql_logger.php')), |
|
74 | 73 | ]; |
75 | 74 | } |
76 | 75 | } |