CodeIgniter Forums

Full Version: Using helper in Extending Core Class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi, i am a CI newbie.

I have create MY_Exceptions file.
I have load url helper on autoload file.

What is the metod to call helpers function on this file?


class MY_Exceptions extends CI_Exceptions{
    function MY_Exceptions(){

    function show_404($page=''){
        # Your code here...

        # I want to call helpers function
        header('Location: /custom404controller.html');