Add an empty body to work around a delay due to a bug in Safari.
[squirrelmail.git] / index.php
index 45e3f8370d272e1445cc4de96682ced8866974ce..a9aa9d1836aa1c0f69d84c1065880e8c48f57c91 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,8 +1,17 @@
 <?php
-   $headers = getallheaders();
-   $path = substr($PHP_SELF, 0, strrpos($PHP_SELF, '/'));
-   $location = $headers["Host"] . $path;
 
-   header("Location: http://$location/src/login.php\n\n");
-   exit();
+/**
+ * index.php -- Displays the main frameset
+ *
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Redirects to the login page.
+ *
+ * $Id$
+ */
+
+header("Location: src/login.php\n\n");
+
 ?>
+<html></html>