Happy 2014
[squirrelmail.git] / plugins / squirrelspell / doc / index.php
index 9c2f5a1df4606854d9da4be99fbd47a68f2db763..0550630ade05364dd6c9f71c0f90ed1fcdba6411 100644 (file)
@@ -1,20 +1,19 @@
 <?php
 
-   /**
-    **  index.php -- Displays the main frameset
-    **
-    **  Copyright (c) 1999-2000 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-2014 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage squirrelspell
+ */
 
-   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