util_global.php is also included by footer.tpl => include_once.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 19:36:36 +0000 (19:36 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 19:36:36 +0000 (19:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11888 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default_advanced/login.tpl

index d7f966a..d4c85a5 100644 (file)
@@ -15,9 +15,9 @@
  *      $login_extra        - Some extra form fields needed by SquirrelMail
  *                            for the login.  Template designers SHOULD ALWAYS
  *                            INCLUDE this value somewhere in the form.
- *      $plugin_output      - An array of extra output that may be added by 
+ *      $plugin_output      - An array of extra output that may be added by
  *                            plugin(s).
- * 
+ *
  * @copyright &copy; 1999-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
@@ -26,7 +26,7 @@
  */
 
 // add includes
-require(SM_PATH . 'templates/util_global.php');
+include_once(SM_PATH . 'templates/util_global.php');
 
 /* retrieve the template vars */
 extract($t);