summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-16 10:20:46 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-16 10:20:46 -0700
commit49f445ce153f321688db970fbcbc9742183b9ed0 (patch)
tree6c568e335e65038ccdd4131ff841ec1b65b78035
parent39fa93eec7f81a32b63c4ecff2b64ae34ad365d3 (diff)
parent85b0f580291e375a2c5ec21b8210e59023ee24c2 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
-rw-r--r--modules/gallery/libraries/Gallery_View.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Gallery_View.php b/modules/gallery/libraries/Gallery_View.php
index 8a0be7f2..133066d7 100644
--- a/modules/gallery/libraries/Gallery_View.php
+++ b/modules/gallery/libraries/Gallery_View.php
@@ -140,6 +140,7 @@ class Gallery_View_Core extends View {
Kohana::log("error", "Missing URL reference '{$match[1]}' in CSS file '$css_file'");
}
}
+ $replace = str_replace(DIRECTORY_SEPARATOR, "/", $replace);
$css = str_replace($search, $replace, $css);
}
$imports = preg_match_all("#@import\s*['|\"]{0,1}(.*?)['|\"]{0,1};#",