Welcome Guest, Not a member yet? Register   Sign In
How to include footer and header in error/html/error_404.php
#1

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]
Reply


Messages In This Thread
How to include footer and header in error/html/error_404.php - by amitkalhan - 12-05-2017, 12:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB