Add option to ask users for personal information on first login.
[squirrelmail.git] / functions / htmlentities / index.php
index ab93512513e37d4cb8ca710c5e500623f82e461e..29d66d8b3b1aa83a4eb22ca12131222e0d442ef9 100644 (file)
@@ -1,13 +1,19 @@
 <?php
+
 /**
- * Redirects to the login page.
+ * index.php
  *
- * @copyright (c) 1999-2005 The SquirrelMail development team
+ * 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-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage strings
  */
-header("Location:../../src/login.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>
\ No newline at end of file