From 5738f673f4ed150380816a91c40746e988f5f4e1 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 18 Jan 2010 17:54:10 +0100 Subject: [PATCH] Skip unconfigured applications. --- framework/Core/lib/Horde/Registry.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index fee537fb6..a0025c468 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -379,7 +379,10 @@ class Horde_Registry continue; } - if (isset($app['fileroot']) && !file_exists($app['fileroot'])) { + if (isset($app['fileroot']) && + (!file_exists($app['fileroot']) || + (file_exists($app['fileroot'] . '/config/conf.xml') && + !file_exists($app['fileroot'] . '/config/conf.php')))) { $app['status'] = 'inactive'; } -- 2.11.0