Seriously? The variable is named as an array and initialized as a string? Well, I...
[squirrelmail.git] / plugins / translate / index.php
index de0b3693d796b6518a9e4f945eb56780cfa564e1..96f05974201a7bd4a043fc6f8292cbe8a58b2202 100644 (file)
@@ -1,20 +1,19 @@
 <?php
 
-   /**
-    **  index.php -- Displays the main frameset
-    **
-    **  Copyright (c) 1999-2002 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-2017 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage translate
+ */
 
-   require_once('../../functions/strings.php');
+header('Location: ../index.php');
 
-   $location = get_location();
-   header("Location: $location/src/login.php\n\n");
-   exit();
-
-?>
+?>
\ No newline at end of file