We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff97a0d commit 3eb2cbeCopy full SHA for 3eb2cbe
src/ApiController.php
@@ -131,7 +131,7 @@ public function __construct()
131
$this->table = call_user_func([new $this->model(), "getTable"]);
132
}
133
134
- if (env("APP_DEBUG") == true) {
+ if (config('app.debug') == true) {
135
\DB::enableQueryLog();
136
137
@@ -697,7 +697,7 @@ protected function getMetaData($single = false)
697
698
$meta["time"] = round(microtime(true) - $this->processingStartTime, 3);
699
700
701
$log = \DB::getQueryLog();
702
\DB::disableQueryLog();
703
0 commit comments