How to customize a 404 error page in CodeIgniter 2.1.4 using base_url ()?

7

I would like to use a% custom%, but accessing an image using the página de erro 404 function does not work. How to solve?

    
asked by anonymous 18.04.2014 / 08:23

1 answer

7

It happens a lot in the community. To use the base_url () method of the url_helper helper, in the directory below:

/application/errors/

Use this method:

<?= config_item('base_url') ?>
    
18.04.2014 / 08:26