From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 20:27:25 +0000 (+0100) Subject: Avoid CLI printing some PEAR::DB deprecated stuff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ff004c5912eb71926a39cc64181601b1c4208088;p=quix0rs-gnu-social.git Avoid CLI printing some PEAR::DB deprecated stuff We should get rid of PEAR::DB and reenable these logs. Upstream doesn't seem to update. --- diff --git a/scripts/commandline.inc b/scripts/commandline.inc index d7ee158801..89b61a34ab 100644 --- a/scripts/commandline.inc +++ b/scripts/commandline.inc @@ -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