X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=index.php;h=ffc8ee5b9e573c29ffe42ee4fee9ae4bd3aef4d1;hp=e01ff86cd3b677239f8ac980c5b1c85b9636f045;hb=793566f084fbb48ab6ec356eb7d4bb76b139e719;hpb=8863d46c4a4dfd55a612f6c4ea8c96192764ba57 diff --git a/index.php b/index.php index e01ff86c..ffc8ee5b 100644 --- a/index.php +++ b/index.php @@ -1,19 +1,25 @@

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

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