From 36fa23861f0a1001a49a4d56ea594e79cce065aa Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 12 May 2010 13:25:35 +0200 Subject: [PATCH] Avoid double loading of horde.local.php if already loaded in test.php --- horde/lib/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/lib/core.php b/horde/lib/core.php index 84a1e4d08..6c4cc8957 100644 --- a/horde/lib/core.php +++ b/horde/lib/core.php @@ -31,7 +31,7 @@ if (!defined('HORDE_BASE')) { ini_set('include_path', $dirname . PATH_SEPARATOR . ini_get('include_path')); if (file_exists(HORDE_BASE . '/config/horde.local.php')) { - include HORDE_BASE . '/config/horde.local.php'; + include_once HORDE_BASE . '/config/horde.local.php'; } /* Set up autoload paths for core Horde libs (located in lib/). This can't -- 2.11.0