From 0da814b12e6c9003ccaec4cf4d7513183779ad95 Mon Sep 17 00:00:00 2001 From: kink Date: Fri, 11 Feb 2005 20:51:51 +0000 Subject: [PATCH] Give an error to the user when SquirrelMail is not configured yet git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8845 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 3 ++- index.php | 12 ++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f50ac1d..d3b90813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -223,7 +223,8 @@ Version 1.5.1 -- CVS string with blank.png. - Added vmailmgrd backend to change_password plugin. - Fixed change_password_init hook. - + - Give an error to the user when SquirrelMail is not configured yet + (instead of "failed to include config.php"). Version 1.5.0 -------------------- diff --git a/index.php b/index.php index 95a74973..ffc8ee5b 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@

ERROR: Config file \"config/config.php\" not found. " . + "You need to configure SquirrelMail before you can use it.

"; + exit; +} + +// if we are, go ahead to the login page. header("Location: src/login.php\n\n"); ?> - \ No newline at end of file + -- 2.25.1