Rearranging (2)
[squirrelmail.git] / index.php
index 9a80878ddd3b7c85578456acaf1a53abe599ea3f..e01ff86cd3b677239f8ac980c5b1c85b9636f045 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,3 +1,19 @@
 <?php
-   header("Location: src/login.php");
-?>
+
+   /**
+    **  index.php -- Displays the main frameset
+    **
+    **  Copyright (c) 1999-2000 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();
+?>
\ No newline at end of file