Turn of E_STRICT which doesn't make sense with the current state of PEAR.
authorGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 17:41:07 +0000 (19:41 +0200)
committerGunnar Wrobel <p@rdus.de>
Sun, 3 Oct 2010 17:45:51 +0000 (19:45 +0200)
components/script/horde-components.php

index 5133e91..6c275f5 100755 (executable)
@@ -4,5 +4,11 @@ if (strpos('@php_dir@', '@php_dir') === 0) {
     set_include_path(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR . get_include_path());
 }
 
+/**
+ * We are heavily relying on the PEAR libraries which are not clean with regard
+ * to E_STRICT.
+ */
+error_reporting(E_ALL & ~E_STRICT);
+
 require_once 'Horde/Autoloader/Default.php';
 Components::main();