From 11d699f4b3b66e021388770c208b07905c98b296 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 30 Sep 2008 01:26:17 +0000 Subject: [PATCH] - {known_script} and {html_head} work from {include file...} git-svn-id: http://piwigo.org/svn/trunk@2627 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/template.class.php b/include/template.class.php index b9d06b750..7456e2f3c 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -329,14 +329,7 @@ class Template { $content = trim($content); if ( !empty($content) ) { // second call - if ( empty($this->output) ) - {//page header not parsed yet - $this->append('head_elements', $content); - } - else - { - $this->html_head_elements[] = $content; - } + $this->html_head_elements[] = $content; } }