Adding more index.php files
[squirrelmail.git] / plugins / info / index.php
index 4864c58da92200d7d0f76f1f050d28618b74cd37..0db0512f6311d7f033ac3d3118aa6112d1b0b67c 100644 (file)
@@ -1,8 +1,11 @@
 <?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.
  *
  * @copyright (c) 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -11,7 +14,6 @@
  * @subpackage info
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>
\ No newline at end of file