]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Avoid CLI printing some PEAR::DB deprecated stuff
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 20:27:25 +0000 (21:27 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 20:27:25 +0000 (21:27 +0100)
We should get rid of PEAR::DB and reenable these logs. Upstream
doesn't seem to update.

scripts/commandline.inc

index d7ee1588017bbf9c35a2ace7ca2cc4f9483d6a77..89b61a34aba87ef83eca47a028dcc012337183c1 100644 (file)
@@ -35,6 +35,7 @@ ini_set("max_execution_time", "0");
 ini_set("max_input_time", "0");
 set_time_limit(0);
 mb_internal_encoding('UTF-8');
+error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
 
 // Add extlib to our path so we can get Console_Getopt