From 53ac8a878e8ec201ef8105e12e0d70729a94ff4f Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 12 Nov 2013 21:43:50 +0000 Subject: bug 2963: Ability to create css/js smarty templates - fixes again git-svn-id: http://piwigo.org/svn/trunk@25471 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/template.class.php') diff --git a/include/template.class.php b/include/template.class.php index deef61af5..a3f4674ae 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -1373,7 +1373,10 @@ final class FileCombiner { $this->flush_pending($result, $pending, $key, $force); $key = $this->is_css ? array(get_absolute_root_url(false)): array(); //because for css we modify bg url - $pending = array($combinable); + if ($combinable->is_remote()) + $result[] = $combinable; + else + $pending = array($combinable); } } $this->flush_pending($result, $pending, $key, $force); -- cgit v1.2.3