Prevent endless recursive sent subfolder names - see: http://thread.gmane.org/gmane...
[squirrelmail.git] / plugins / administrator / index.php
index 1e48203d9d6d36492506f2acbc7bbf96d99172de..c7ec28dabb1cb691f455415d9c06a64e47f82ee9 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-2012 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