Adding more index.php files
[squirrelmail.git] / plugins / newmail / index.php
index 57c8d8878233671aef5e1984fc3f0fd42151e6c6..7ac21e74bc5985ccb8506099df4547d1098228e2 100644 (file)
@@ -1,16 +1,19 @@
 <?php
+
 /**
- *  index.php -- Displays the main frameset
+ * index.php
  *
- *  Copyright (c) 1999-2005 The SquirrelMail Project 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 (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage newmail
- **/
-header("Location:../../src/login.php\n\n");
-exit();
+ */
+
+header('Location: ../index.php');
+
 ?>
\ No newline at end of file