helloooo
fjfjfjsjdf
fjfjfjsjdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CodeIgniter<br />
$this->output->enable_profiler(TRUE);<br />
$this->load->view('test');<br />
}<br />
public function disable()<br />
{<br />
//disable profiler<br />
$this->output->enable_profiler(FALSE);<br />
$this->load->view('test');<br />
}<br />
}<br />
?><br />
Create a view file called test.php and save it at application/views/test.php<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
CodeIgniter View Example<br />
CodeIgniter View Example<br />
Change the routes.php file at application/config/routes.php to add route for the<br />
above controller and add the following line at the end of the file.<br />
$route['profiler'] = "Profiler_controller";<br />
$route['profiler/disable'] = "Profiler_controller/disable";<br />
After that, you can type the following URL in the address bar of your browser to execute<br />
the example.<br />
http://yoursite.com/index.php/profiler<br />
78