Fix incorrect stristr() parameter order
[squirrelmail.git] / plugins / info / index.php
index 7aac6fd3c81ac1602926dbd41c2e5b8c133ebefe..5c4f1d4e10784e60a1072dc0a8bae7e0491f8fbc 100644 (file)
@@ -1,17 +1,19 @@
 <?php
 <?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 development 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 info
  */
 
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage info
  */
 
-   header("Location:../../src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>
\ No newline at end of file
 
 ?>
\ No newline at end of file