PHP 5.3 deprecated ereg() function (#2820952)
[squirrelmail.git] / plugins / newmail / index.php
index 766c7e0e79df2408274aeb0f2b4a778f9e585533..6529bf2d30f35fbcdcbf85116d76bfeb48fe63a5 100644 (file)
@@ -1,16 +1,19 @@
 <?php
 <?php
+
 /**
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
  *
- *  Copyright (c) 1999-2004 The SquirrelMail development team
- *  Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- *  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.
  *
  *
+ * @copyright &copy; 1999-2009 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage newmail
  * @version $Id$
  * @package plugins
  * @subpackage newmail
- **/
-header("Location:../../src/login.php\n\n");
-exit();
+ */
+
+header('Location: ../index.php');
+
 ?>
\ No newline at end of file
 ?>
\ No newline at end of file