Skip to content

Commit

Permalink
Update bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 authored May 14, 2024
1 parent a5dc6c1 commit 69bca36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ function dd(...$vars)
exit(10);
}

if (($_ENV['APP_ENV'] ?? 'production') === 'production') {
error_reporting(~E_ALL);
}

require_once $autoload_file;

return $basePath;

0 comments on commit 69bca36

Please sign in to comment.