projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4a780
)
HTML/CSS/Minify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 31 Aug 2015 05:32:22 +0000
(13:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 31 Aug 2015 05:32:22 +0000
(13:32 +0800)
HTML/CSS/Minify.php
patch
|
blob
|
history
diff --git
a/HTML/CSS/Minify.php
b/HTML/CSS/Minify.php
index
2ea1ef7
..
8ae15f6
100644
(file)
--- a/
HTML/CSS/Minify.php
+++ b/
HTML/CSS/Minify.php
@@
-506,9
+506,12
@@
class HTML_CSS_Minify
foreach ($matches as $match) {
// determine if it's a url() or an @import match
$type = (strpos($match[0], '@import') === 0 ? 'import' : 'url');
-
+
+
+
+
// fix relative url
- $url = $
converter->convert(
$match['path']);
+ $url = $
this->convertPath($base_url, $base_url_to,
$match['path']);
// build replacement
$search[] = $match[0];