]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Strict standards and deprecation warnings are good, but confusing
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 10 Jul 2014 11:16:51 +0000 (13:16 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 10 Jul 2014 11:23:10 +0000 (13:23 +0200)
we know we have to get rid of PEAR::DB, but don't alarm users with hundreds
of lines of output.

lib/installer.php

index ed5bc540cfd380e1d75388ee1b39b8ee8841d86e..dc4c7786a8d007c93155ad9f75a85e637f924573 100644 (file)
@@ -537,7 +537,7 @@ abstract class Installer
 
         $this->updateStatus("Initializing...");
         ini_set('display_errors', 1);
-        error_reporting(E_ALL);
+        error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
         if (!defined('GNUSOCIAL')) {
             define('GNUSOCIAL', true);
         }