From: Jan Schneider Date: Wed, 12 May 2010 11:25:35 +0000 (+0200) Subject: Avoid double loading of horde.local.php if already loaded in test.php X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=36fa23861f0a1001a49a4d56ea594e79cce065aa;p=horde.git Avoid double loading of horde.local.php if already loaded in test.php --- 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