mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 00:42:20 +02:00
merge -r10655 from branch 2.2 to trunk
get_combined_scripts footer and header can be now in the same tpl file (warning before and not working properly) git-svn-id: http://piwigo.org/svn/trunk@10656 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1048,7 +1048,10 @@ class ScriptLoader
|
||||
|
||||
function get_footer_scripts()
|
||||
{
|
||||
$this->did_head || trigger_error("Footer scripts before header scripts ?", E_USER_WARNING);
|
||||
if (!$this->did_head)
|
||||
{
|
||||
self::check_load_dep($this->registered_scripts);
|
||||
}
|
||||
$this->did_footer = true;
|
||||
$todo = array();
|
||||
foreach( $this->registered_scripts as $id => $script)
|
||||
|
||||
Reference in New Issue
Block a user