Ver código fonte

util_global.php is also included by footer.tpl => include_once.

stekkel 19 anos atrás
pai
commit
0eb51a9060
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      templates/default_advanced/login.tpl

+ 3 - 3
templates/default_advanced/login.tpl

@@ -15,9 +15,9 @@
  *      $login_extra        - Some extra form fields needed by SquirrelMail
  *      $login_extra        - Some extra form fields needed by SquirrelMail
  *                            for the login.  Template designers SHOULD ALWAYS
  *                            for the login.  Template designers SHOULD ALWAYS
  *                            INCLUDE this value somewhere in the form.
  *                            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).
  *                            plugin(s).
- * 
+ *
  * @copyright © 1999-2006 The SquirrelMail Project Team
  * @copyright © 1999-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @version $Id$
@@ -26,7 +26,7 @@
  */
  */
 
 
 // add includes
 // add includes
-require(SM_PATH . 'templates/util_global.php');
+include_once(SM_PATH . 'templates/util_global.php');
 
 
 /* retrieve the template vars */
 /* retrieve the template vars */
 extract($t);
 extract($t);