From: stekkel Date: Mon, 9 Oct 2006 19:27:17 +0000 (+0000) Subject: util_global.php was included twice (second time by footer.tpl) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=981877957f7c648d7861b9c132c74d47aa1bc1c1;p=squirrelmail.git util_global.php was included twice (second time by footer.tpl) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11887 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/read_attachments.tpl b/templates/default/read_attachments.tpl index 0ed09163..f41f7861 100644 --- a/templates/default/read_attachments.tpl +++ b/templates/default/read_attachments.tpl @@ -4,7 +4,7 @@ * * Template used to generate the attachment list while reading a message. This * template is called from the function formatAttachments() in functions/mime.php. - * + * * The following variables are available in this template: * $attachments - array containing info for all message attachments. Each * element in the array represents a separate attachment and @@ -31,7 +31,7 @@ */ /** add required includes **/ -require(SM_PATH . 'templates/util_global.php'); +include_once(SM_PATH . 'templates/util_global.php'); /** extract template variables **/ extract($t); @@ -76,7 +76,7 @@ if (count($attachments)==0) {  |  @@ -89,7 +89,7 @@ if (count($attachments)==0) {