Welcome Guest, Not a member yet? Register   Sign In
CI_Loader extend causing headers error
#1

[eluser]orzilca[/eluser]
Hello everybody,

I've came across something that drives me crazy. please help me Sad

I'm try to extend the CI_Loader Core in-order to create global header and footer.
For some reason, the extending causes error.

The extend code
Code:
class MY_Loader extends CI_Loader
    {

        function __construct()
        {
            // i need the codeigniter super-object
            // in all the function
        }

        public function load_header()
        {
            echo 'header';
        }
        
        public function load_footer()
        {
            echo 'footer';
        }
        
    }

The error i currently get
Code:
Unable to load the requested file: helpers/url_helper.php


Messages In This Thread
CI_Loader extend causing headers error - by El Forum - 06-18-2012, 12:46 AM
CI_Loader extend causing headers error - by El Forum - 06-18-2012, 12:49 AM
CI_Loader extend causing headers error - by El Forum - 06-18-2012, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB