Merge pull request 'error reporting should always be E_ALL' (!72) from bugfix/fix-error-reporting into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
Reviewed-on: #72
This commit is contained in:
commit
9b8fcaad9a
3
web.php
3
web.php
@ -19,9 +19,8 @@ use RVR\Repository\UserRepository;
|
|||||||
|
|
||||||
require 'app.php';
|
require 'app.php';
|
||||||
|
|
||||||
if (!empty($_ENV['DEV'])) {
|
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
if (!empty($_ENV['DEV'])) {
|
||||||
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