Hello,
I've a problem with the function Requirements::combine_files. The function doesn't generate the files, in the example the files should be called "cssmin.css" and "jsmin.js".
Maybe I have a mistake in my source code. But I can't find it. I hope you can help me with this problem.
$theme = SSViewer::current_theme();
echo $path = 'themes/'.$theme.'/';
Requirements::combine_files(
$path.'css/cssmin.css',
array(
$path.'css/layout.css',
$path.'css/typography.css',
$path.'css/form.css',
$path.'css/print.css',
$path.'css/highslide.css',
)
);
Requirements::combine_files(
$path.'js/jsmin.js',
array(
'jsparty/prototype.js',
'jsparty/behaviour.js',
'jsparty/prototype_improvements.js',
'sapphire/javascript/i18n.js',
'sapphire/javascript/Validator.js',
$path.'js/highslide.js',
$path.'js/stars.js',
)
);