summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-15 12:07:31 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-18 11:11:46 +0200
commit617de811f786dd9282ad52c062a58072027f5637 (patch)
tree0cd1e80ae587a7273380e63ff4cfc121445b4a73 /core
parent91f69858e49c3981d31eeee428c7bf3cd5e142fe (diff)
downloadnextcloud-server-617de811f786dd9282ad52c062a58072027f5637.tar.gz
nextcloud-server-617de811f786dd9282ad52c062a58072027f5637.zip
Cache the minimized output also on the server
Diffstat (limited to 'core')
-rw-r--r--core/minimizer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/minimizer.php b/core/minimizer.php
index 709c7508e90..47e3d855e7b 100644
--- a/core/minimizer.php
+++ b/core/minimizer.php
@@ -6,10 +6,10 @@ OC_App::loadApps();
if ($service == 'core.css'){
$minimizer = new OC_Minimizer_CSS();
$files = $minimizer->findFiles(OC_Util::$core_styles);
- $minimizer->output($files);
+ $minimizer->output($files, $service);
}
else if ($service == 'core.js'){
$minimizer = new OC_Minimizer_JS();
$files = $minimizer->findFiles(OC_Util::$core_scripts);
- $minimizer->output($files);
+ $minimizer->output($files, $service);
}