Remove unused hook
[squirrelmail.git] / plugins / filters / index.php
index 7230fe5045ef19e5d2b759e971a575947d2748d3..e3ebc5640f30616449ab69d99c0ce8b20db36746 100644 (file)
@@ -1,20 +1,19 @@
 <?php
 
-   /**
-    **  index.php -- Displays the main frameset
-    **
-    **  Copyright (c) 1999-2001 The SquirrelMail development team
-    **  Licensed under the GNU GPL. For full terms see the file COPYING.
-    **
-    **  Redirects to the login page.
-    **
-    **  $Id$
-    **/
+/**
+ * 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 1999-2013 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage filters
+ */
 
-   require_once('../../functions/strings.php');
-
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
-   exit();
+header('Location: ../index.php');
 
 ?>
\ No newline at end of file