X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=index.php;h=d1ed5e9533d78f8152df32ccdb45596a9e7f4371;hp=0356f058afbfcf543e647a8ae1a1ff31231b3bce;hb=9785376ec2914ab2f8bd8005680ebd95b106e9f4;hpb=6c6c7e4f0bc76e4ba61fa2d83575a3fa4a4c2624 diff --git a/index.php b/index.php index 0356f058..d1ed5e95 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