MFB: Log if setting application inactive.
authorJan Schneider <jan@horde.org>
Fri, 10 Sep 2010 14:41:03 +0000 (16:41 +0200)
committerJan Schneider <jan@horde.org>
Fri, 10 Sep 2010 15:48:18 +0000 (17:48 +0200)
framework/Core/lib/Horde/Registry.php

index 1889aa9..e1c7dfc 100644 (file)
@@ -545,6 +545,7 @@ implements Horde_Interfaces_Registry_Auth
                     (file_exists($app['fileroot'] . '/config/conf.xml') &&
                     !file_exists($app['fileroot'] . '/config/conf.php'))) {
                     $app['status'] = 'inactive';
+                    Horde::logMessage('Setting ' . $appName . ' inactive because the fileroot does not exist or the application is not configured yet.', 'INFO');
                 }
             }