add logging method detection for IPv6
This commit is contained in:
parent
e30d7281a8
commit
2be685883a
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
/**
|
||||
* De-/Activate error messages
|
||||
*/
|
||||
if($_SERVER['SERVER_ADDR'] == '127.0.0.1') {
|
||||
if($_SERVER['SERVER_ADDR'] == '127.0.0.1' || $_SERVER['SERVER_ADDR'] == '::1') {
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('log_errors', 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue