From 47f31c2c90bfe4637266342cbcbd143eb93fac05 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 30 May 2011 22:22:47 +0000 Subject: bug 2316 fixed: remote urls on local CSS files should not be modified git-svn-id: http://piwigo.org/svn/branches/2.2@11121 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/template.class.php b/include/template.class.php index 5a79bbfb6..4eef7dab0 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -1350,7 +1350,7 @@ final class FileCombiner $search = $replace = array(); foreach ($matches as $match) { - if ( !url_is_remote($match[1]) || $match[1][0] != '/') + if ( !url_is_remote($match[1]) && $match[1][0] != '/') { $relative = dirname($file) . "/$match[1]"; $search[] = $match[0]; -- cgit v1.2.3