mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
- {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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user