How to include footer and header in error/html/error_404.php |
I can print the base url at error/html/error_404.php by adding following code:-
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <?php $ci = new CI_Controller(); $ci =& get_instance(); $ci->load->helper('url'); ?> But couldn't include my header and footer (Located at: [b]views/include/footer.php) in error/html/error_404.php[/b] |
Messages In This Thread |
How to include footer and header in error/html/error_404.php - by amitkalhan - 12-05-2017, 12:01 AM
RE: How to include footer and header in error/html/error_404.php - by bvrignaud - 12-05-2017, 06:46 AM
RE: How to include footer and header in error/html/error_404.php - by PaulD - 12-05-2017, 12:13 PM
|