From: Jan Schneider Date: Mon, 18 Jan 2010 16:54:10 +0000 (+0100) Subject: Skip unconfigured applications. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5738f673f4ed150380816a91c40746e988f5f4e1;p=horde.git Skip unconfigured applications. --- 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'; }