hide notices
With PHP 7.0 Maysqldumper showed way to many notices. This changes the error_reporting level so notices are not shown anymore.
Dieser Commit ist enthalten in:
Ursprung
5b995d339d
Commit
a69b1db72b
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
error_reporting(E_ALL);
|
||||
if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
|
||||
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
|
||||
}
|
||||
|
||||
if (function_exists("date_default_timezone_set")) date_default_timezone_set(@date_default_timezone_get());
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren