404 Page Not Found using MY_Controller class |
[eluser]Hitankar[/eluser]
Hi! I am trying to implement the concept of using common header and footer for all the pages. I have look thru and found out that this can be done using a MY_Controller class derived from the base Controller class, and inheriting this class for whatever class I am creating. I see the the view for the header and footer opens up good. However, I see a 404 Page Not Found error message as well. Could help me out where I am going wrong. The html markup for the resulting page I add in the reply. Code: $<html>
[eluser]Hitankar[/eluser]
Here is the MY_Controller class I used. Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Please help me out, thanks. |
Welcome Guest, Not a member yet? Register Sign In |