Welcome Guest, Not a member yet? Register   Sign In
filemanager integration
#3

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...
Reply


Messages In This Thread
filemanager integration - by neuron - 08-27-2017, 11:17 PM
RE: filemanager integration - by InsiteFX - 08-28-2017, 05:11 AM
RE: filemanager integration - by neuron - 08-28-2017, 06:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB