mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-04 12:32:48 +02:00
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
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user