Closed mrfr0g closed 12 years ago
On https://github.com/peteboere/css-crush/wiki/Usage under the "Output Options" section it lists 'output_filename' but option is actually output_file.
Code to reproduce:
$config = array( 'output_filename' => 'site1.css' );
echo CssCrush::tag('/css/global.css', $config);
$config['output_file'] = 'site1.css';
Result:
<link rel="stylesheet" href="/css/global.crush.css?1324178940" /> <link rel="stylesheet" href="/css/site1.crush.css?1324178940" />
Thanks for spotting, that's fixed
On https://github.com/peteboere/css-crush/wiki/Usage under the "Output Options" section it lists 'output_filename' but option is actually output_file.
Code to reproduce:
$config = array( 'output_filename' => 'site1.css' );
echo CssCrush::tag('/css/global.css', $config);
$config['output_file'] = 'site1.css';
echo CssCrush::tag('/css/global.css', $config);
Result:
<link rel="stylesheet" href="/css/global.crush.css?1324178940" /> <link rel="stylesheet" href="/css/site1.crush.css?1324178940" />