Croatian Credits
[squirrelmail.git] / index.php
index 9a80878ddd3b7c85578456acaf1a53abe599ea3f..1ece875f6c09d8f297a47d91b1f6ce7898ede7cf 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,3 +1,20 @@
 <?php
 <?php
-   header("Location: src/login.php");
+
+/**
+ * index.php -- Displays the main frameset
+ *
+ * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Redirects to the login page.
+ *
+ * $Id$
+ */
+
+require_once('./functions/strings.php');
+
+$location = get_location();
+header("Location: $location/src/login.php\n\n");
+exit();
+
 ?>
 ?>