use config helper instead of env in application code

This commit is contained in:
Ethan Brace
2020-04-26 06:07:27 -04:00
parent 16092f657c
commit 6a11f130c2
18 changed files with 29 additions and 23 deletions

View File

@ -54,7 +54,7 @@ class Handler extends ExceptionHandler
*/
public function render($request, Throwable $exception)
{
if (env('APP_DEBUG') === false) {
if (config('app.debug') === false) {
return $this->handleExceptions($request, $exception);
}