$config['js_file'] not working properly
manukieli opened this issue · comments
I'm using this code
$this->load->library('minify'); $minify_config['js_file'] = 'newtable.js'; $minify = new Minify($minify_config); $minify->js(array('tables.js'));
I want my own name of js_file, but they return me alway the same js name file: script.min.js
I'm using PHP7.2
Yep... nice catch - thanks :)
One thing - you can simplify your code by doing this:
$minify_config['js_file'] = 'newtable.js';
$this->load->library('minify', $minify_config);
$this->minify->js(array('tables.js'));