Merge pull request 'error reporting should always be E_ALL' (!80) from bugfix/fix-error-reporting into develop
All checks were successful
mapguesser/pipeline/head This commit looks good
All checks were successful
mapguesser/pipeline/head This commit looks good
Reviewed-on: #80
This commit is contained in:
commit
276a289ca7
3
web.php
3
web.php
@ -16,9 +16,8 @@ use MapGuesser\Repository\UserRepository;
|
|||||||
|
|
||||||
require 'main.php';
|
require 'main.php';
|
||||||
|
|
||||||
|
error_reporting(E_ALL);
|
||||||
if (!empty($_ENV['DEV'])) {
|
if (!empty($_ENV['DEV'])) {
|
||||||
error_reporting(E_ALL);
|
|
||||||
|
|
||||||
ini_set('display_errors', '1');
|
ini_set('display_errors', '1');
|
||||||
} else {
|
} else {
|
||||||
ini_set('display_errors', '0');
|
ini_set('display_errors', '0');
|
||||||
|
Loading…
Reference in New Issue
Block a user