Adding more index.php files
[squirrelmail.git] / functions / htmlentities / index.php
index 4be5a592d8433b8b7fe0cd4a4f29e82216d85687..10ac217a3f42e54e4373b27c344eaf38279e5b81 100644 (file)
@@ -1,6 +1,11 @@
 <?php
+
 /**
- * Redirects to the login page.
+ * index.php
+ *
+ * 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
@@ -8,6 +13,7 @@
  * @package squirrelmail
  * @subpackage strings
  */
-header("Location:../../src/login.php\n\n");
-exit();
+
+header('Location: ../index.php');
+
 ?>
\ No newline at end of file