Fix logic, clearer error label
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 May 2010 05:43:04 +0000 (23:43 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 May 2010 19:50:47 +0000 (13:50 -0600)
horde/test.php

index f590b24..64170ef 100644 (file)
@@ -147,9 +147,9 @@ if ($app == 'horde') {
         }
     }
 
-    if (!$init_exception) {
+    if ($init_exception) {
         echo '<li style="color:red"><strong>Horde is not correctly configured so no application information can be displayed. Please follow the instructions in horde/docs/INSTALL and ensure horde/config/conf.php and horde/config/registry.php are correctly configured.</strong></li>' .
-            '<li><strong>Error message:</strong> ' . $e->getMessage() . '</li>';
+            '<li><strong>Error:</strong> ' . $e->getMessage() . '</li>';
     }
 ?>
 </ul>