i want call controller, have these two
ajax_controller
. . . public function download_low_image($image){ $file = $this -> mimages -> get_image_file($image); $test = new thumb_controller(); $test->crop(); }
but returns
unable locate specified class: session.php
how can fix this?
may solve problem. generallly , can load other controller as
load controller inside controller like
$this->load->library('../controllers/thumb_controller');
then call method
$this->thumb_controller->functioname();
Comments
Post a Comment