From: Michael M Slusarz Date: Wed, 5 Jan 2011 08:41:10 +0000 (-0700) Subject: More appropriate error message for conf.php files X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=416269a11008e2e3dc813dd735365bf677f77f27;p=horde.git More appropriate error message for conf.php files --- diff --git a/horde/lib/Test.php b/horde/lib/Test.php index 15a416ea2..e6b217c0b 100644 --- a/horde/lib/Test.php +++ b/horde/lib/Test.php @@ -668,7 +668,14 @@ class Horde_Test if (!$result) { if (empty($val)) { - $entry[] = 'The file ' . $key . ' appears to be missing. You probably just forgot to copy ' . $key . '.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.'; + $text = 'The file ' . $key . ' appears to be missing.'; + if ($key == 'config/conf.php') { + $text .= ' You need to login to Horde as an administrator and create the initial configuration file.'; + } else { + $text .= ' You probably just forgot to copy ' . $key . '.dist over. While you do that, take a look at the settings and make sure they are appropriate for your site.'; + } + + $entry[] = $text; } else { $entry[] = $val; }