- {known_script} and {html_head} work from {include file...}

git-svn-id: http://piwigo.org/svn/trunk@2627 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2008-09-30 01:26:17 +00:00
commit 11d699f4b3

View file

@ -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;
}
}