<?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");
+exit();
+
+?>
\ No newline at end of file