From ff004c5912eb71926a39cc64181601b1c4208088 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 21:27:25 +0100 Subject: [PATCH] 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. --- scripts/commandline.inc | 1 + 1 file changed, 1 insertion(+) 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