From 5fc65304ee2d516aecb2744bed8e316e8e98d212 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 19:41:07 +0200 Subject: [PATCH] Turn of E_STRICT which doesn't make sense with the current state of PEAR. --- components/script/horde-components.php | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- 2.11.0