![]() |
CLI error php pages - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: CLI error php pages (/showthread.php?tid=63537) |
CLI error php pages - wolfgang1983 - 11-11-2015 I noticed in the errors/cli there are a few error pages. I know you over ride the error_404 page in the routes. But is it possible to over ride error_db, error_exception, error_general and error_php So they match my template. PHP Code: public function index() { I would like to be able to do similar for the error pages above. Default View PHP Code: <?php $this->load->view('common/header');?><?php $this->load->view('common/column_left');?> Would that be possible? RE: CLI error php pages - Narf - 11-11-2015 The route overrides what method is called in case of a 404 condition. The error templates that you see are there exactly so you can style them as you wish. You don't need routes for that. |