]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Let's not avoid error reporting completely in getvaliddaemons
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 24 Aug 2014 11:13:45 +0000 (13:13 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 24 Aug 2014 11:20:05 +0000 (13:20 +0200)
scripts/getvaliddaemons.php

index 9b97b623131d7bd243d6f592735c2bc2c3e7b158..448fbb6d32cceb9282804fa6a162a66893a23aa2 100755 (executable)
@@ -33,8 +33,8 @@ by the startdaemons script
 
 ENDOFHELP;
 
-// No error reporting to avoid invalid daemon names
-error_reporting(0);
+// No unnecessary error reporting to avoid invalid daemon names
+error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
 
 require_once INSTALLDIR.'/scripts/commandline.inc';