X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=index.php;h=19e22171dc506876edf1487b96b80f7d5d7c00f3;hp=e01ff86cd3b677239f8ac980c5b1c85b9636f045;hb=84c81038e69b3d5f014beb6d2e0b767228891830;hpb=8863d46c4a4dfd55a612f6c4ea8c96192764ba57;ds=sidebyside diff --git a/index.php b/index.php index e01ff86c..19e22171 100644 --- a/index.php +++ b/index.php @@ -1,19 +1,24 @@

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'); - $location = get_location(); - header("Location: $location/src/login.php\n\n"); - exit(); -?> \ No newline at end of file