Fix for security token missing in newmail plugin (#2919418).
[squirrelmail.git] / plugins / administrator / index.php
index 1e48203d9d6d36492506f2acbc7bbf96d99172de..cc5f446b7972f7da82ea79307b886511d51179b7 100644 (file)
@@ -1,17 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Redirects to the login page.
+ * 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 in or not.
  *
- * @version $Id$
- * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @copyright 1999-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage administrator
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>
\ No newline at end of file