Welcome Guest, Not a member yet? Register   Sign In
[Solved] Getting firefox redirection error?
#2

[eluser]riwakawd[/eluser]
After spending few hours on it I have fixed issue seem to work now since not have spaces on second class in my controller like so

Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Controller extends MX_Controller {
  public function __construct() {
      parent::__construct();
      if(!config_item('system_installed')) redirect('install');
   }
}

class Controller extends MY_Controller { // Working Now With No Underline
   public function __construct() {
      parent::__construct();
      if($this->config->item('system_maintenance') == TRUE) {
         redirect('maintenance');
      }
   }
}


Messages In This Thread
[Solved] Getting firefox redirection error? - by El Forum - 05-31-2014, 01:52 AM
[Solved] Getting firefox redirection error? - by El Forum - 05-31-2014, 07:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB