[eluser]Halan Batista[/eluser]
Hello!
I want to use the Minify in my site, but I'm with problem....
My controller:
Code:
class Home extends Controller
{
public $data = array();
public function __construct()
{
parent::__construct();
$this->load->driver('minify');
$csss = $this->minify->combine_directory('/css/');
$this->minify->save_file($csss,'assets/compressed/style.css');
$jss =$this->minify->combine_directory('/js/');
$this->minify->save_file($jss,'assets/compressed/scripts.js');
//seta o layout padrĂ£o
$this->layout->setLayout('adoroviagem');
// habilita variaveis por $_GET
parse_str($_SERVER['QUERY_STRING'],$_GET);
}
Return the error =>
Fatal error: Call to undefined method CI_Loader::driver() in /Applications/XAMPP/xamppfiles/htdocs/www/adoroviagem/system/application/app-av/controllers/revista.php on line 20
What's happen??