aboutsummaryrefslogtreecommitdiffstats
path: root/core/minimizer.php
blob: 6828acc87d8eb283b625cac60f8c86fc7f9c7e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

OC_App::loadApps();

if ($service == 'core.css'){
	$minimizer = new OC_Minimizer_CSS();
	$files = $minimizer->findFiles(OC_Util::$core_styles);
	$minimizer->output($files);
}
else if ($service == 'core.js'){
	$minimizer = new OC_Minimizer_JS();
	$files = $minimizer->findFiles(OC_Util::$core_scripts);
	$minimizer->output($files);
}