PHP 5.3 deprecated ereg() function (#2820952)
[squirrelmail.git] / plugins / administrator / index.php
index 1df65c343796bf7a40ae5934a6a5a532c15d338c..c554ff1b1745115cd412cdec2962a018c34ffe26 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-2004 The SquirrelMail Project Team
+ * @copyright &copy; 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