Added support for using Squirrelmail without frames
[squirrelmail.git] / plugins / squirrelspell / index.php
index 7230fe5045ef19e5d2b759e971a575947d2748d3..73f63aa677f8671765dcf9b9cf2c73d50f610576 100644 (file)
@@ -1,20 +1,22 @@
 <?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$
-    **/
+/**
+ * index.php
+ *
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source files and sends those
+ * people to the login screen. At this point no attempt is made to see if
+ * the person is logged or not.
+ *
+ * $Id$
+ * @package plugins
+ * @subpackage squirrelspell
+ */
 
-   require_once('../../functions/strings.php');
+header("Location: ../../index.php");
 
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
-   exit();
+/* pretty impressive huh? */
 
-?>
\ No newline at end of file
+?>