Skip unconfigured applications.
authorJan Schneider <jan@horde.org>
Mon, 18 Jan 2010 16:54:10 +0000 (17:54 +0100)
committerJan Schneider <jan@horde.org>
Mon, 18 Jan 2010 16:54:10 +0000 (17:54 +0100)
framework/Core/lib/Horde/Registry.php

index fee537f..a0025c4 100644 (file)
@@ -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';
             }