From: Gunnar Wrobel Date: Sun, 3 Oct 2010 17:41:07 +0000 (+0200) Subject: Turn of E_STRICT which doesn't make sense with the current state of PEAR. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5fc65304ee2d516aecb2744bed8e316e8e98d212;p=horde.git Turn of E_STRICT which doesn't make sense with the current state of PEAR. --- diff --git a/components/script/horde-components.php b/components/script/horde-components.php index 5133e910e..6c275f58a 100755 --- a/components/script/horde-components.php +++ b/components/script/horde-components.php @@ -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();