Add ability to show login error from the IMAP server instead of traditional "Unknown...
[squirrelmail.git] / plugins / mail_fetch / index.php
index 4907e7fc187a5f75f3538581e7c0a767dd768cbb..cd10b7b0b0287d9bb3564dcf174fd7176e16a136 100644 (file)
@@ -1,18 +1,19 @@
 <?php
+
 /**
- * index.php -- Displays the main frameset
- *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * index.php
  *
- * Redirects to the login page.
+ * 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 mail_fetch
- **/
+ */
 
-header("Location:../index.php\n\n");
-exit();
+header('Location: ../index.php');
 
 ?>
\ No newline at end of file