Welcome Guest, Not a member yet? Register   Sign In
Enable profiler
#1

[eluser]ninjayan[/eluser]
Hi everyone! So its me again.

I have this code in my controller
Code:
public function __construct() {
  parent::__construct();
  $this->output->enable_profiler(TRUE);
  $this->clear_cache();

  if ($this->session->userdata('is_logged_in') && ($this->session->userdata('is_logged_in') == 1)) {
   redirect('site/dashboard');
  }
}
When I try to login, nothing works but if I remove
Code:
$this->output->enable_profiler(TRUE);
It works fine. How can I fix that? What is the problem?


Messages In This Thread
Enable profiler - by El Forum - 10-15-2012, 05:44 AM
Enable profiler - by El Forum - 10-16-2012, 12:55 AM
Enable profiler - by El Forum - 10-16-2012, 02:54 AM
Enable profiler - by El Forum - 10-16-2012, 10:31 AM
Enable profiler - by El Forum - 10-16-2012, 05:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB