Strict standards and deprecation warnings are good, but confusing

we know we have to get rid of PEAR::DB, but don't alarm users with hundreds
of lines of output.
This commit is contained in:
Mikael Nordfeldth 2014-07-10 13:16:51 +02:00
parent a2360f7538
commit b3d6c51c79

View 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);
}