From d463b9f4bf2dfc4c0700eec2f133345bf2f1b838 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 4 May 2010 15:21:32 +0200 Subject: [PATCH] Try to load horde.local.php. --- horde/test.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/horde/test.php b/horde/test.php index ce0fbbec0..84cf72559 100644 --- a/horde/test.php +++ b/horde/test.php @@ -27,7 +27,10 @@ function _hordeTestError($msg) /* If we can't find the Autoloader, then the framework is not setup. A user * must at least correctly install the framework. */ -ini_set('include_path', dirname(__FILE__) . '/lib' . PATH_SEPARATOR . dirname(dirname(__FILE__)) . '/lib' . PATH_SEPARATOR . ini_get('include_path')); +ini_set('include_path', dirname(__FILE__) . '/lib' . PATH_SEPARATOR . ini_get('include_path')); +if (file_exists(dirname(__FILE__) . '/config/horde.local.php')) { + include dirname(__FILE__) . '/config/horde.local.php'; +} if (!@include_once 'Horde/Autoloader.php') { _hordeTestError(sprintf('Could not find Horde\'s framework libraries in the following path(s): %s. Please read horde/docs/INSTALL for information on how to install these libraries.', get_include_path())); } -- 2.11.0