2012-05-14 19:57:43 +04:00
|
|
|
<?php
|
2012-06-16 16:15:43 +04:00
|
|
|
session_write_close();
|
2012-05-14 19:57:43 +04:00
|
|
|
|
2012-06-05 01:17:50 +04:00
|
|
|
OC_App::loadApps();
|
|
|
|
|
2012-05-15 01:15:53 +04:00
|
|
|
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);
|
|
|
|
}
|