diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-09-30 01:26:17 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-09-30 01:26:17 +0000 |
commit | 11d699f4b3b66e021388770c208b07905c98b296 (patch) | |
tree | 4dabf77512192dcb27a0a29cf5742035d99d8d33 /include/template.class.php | |
parent | b596647c2ae9552a3e637f4a86cfaee4098e26b7 (diff) |
- {known_script} and {html_head} work from {include file...}
git-svn-id: http://piwigo.org/svn/trunk@2627 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/template.class.php')
-rw-r--r-- | include/template.class.php | 9 |
1 files changed, 1 insertions, 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; } } |