After doing numeral experiments I found the problem.
Problem was that when I request (domain)/assets/responsive_filemanager/filemanager/dialog.php
this path, it was redirecting to home page.
In my router I had this rule:
$route['default_controller'] = "welcome";
where in controller/welcome.php:
PHP Code:
class Welcome extends CI_Controller {
public function index() {
if (isset($this->session->userdata['user_id'])) {
redirect('home');
} else {
redirect('login');
}
}
}
Somebody who worked in this project before me did this non sense.
After all I fixed route to:
$route['default_controller'] = "home";
to this.
it works fine now...