summaryrefslogtreecommitdiffstats
path: root/lib/minimizer
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-22 13:12:03 +0200
committerBrice Maron <brice@bmaron.net>2012-06-22 13:12:03 +0200
commit8c2803a7c1d2b5d6b1d4bab5d36ebceb19324729 (patch)
tree9b4052cd2026e6854ce91168539ee08d05efe200 /lib/minimizer
parent19931e2008296b4d8fe9717ae78093fb88f1b3e9 (diff)
downloadnextcloud-server-8c2803a7c1d2b5d6b1d4bab5d36ebceb19324729.tar.gz
nextcloud-server-8c2803a7c1d2b5d6b1d4bab5d36ebceb19324729.zip
Correct image path and apps path replacement
Diffstat (limited to 'lib/minimizer')
-rw-r--r--lib/minimizer/css.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/minimizer/css.php b/lib/minimizer/css.php
index 97099adbdf6..bf2a6d1d18e 100644
--- a/lib/minimizer/css.php
+++ b/lib/minimizer/css.php
@@ -17,7 +17,7 @@ class OC_Minimizer_CSS extends OC_Minimizer
$in_root = false;
foreach(OC::$APPSROOTS as $app_root) {
if(strpos($file, $app_root['path']) == 0) {
- $in_root = $app_root['url'];
+ $in_root = $webroot.$app_root['url'];
break;
}
}
@@ -33,6 +33,7 @@ class OC_Minimizer_CSS extends OC_Minimizer
if (!defined('DEBUG') || !DEBUG){
$css_out = CSSMin::minify($css_out);
}
+// die();
return $css_out;
}
}