Welcome Guest, Not a member yet? Register   Sign In
CLI error php pages

(This post was last modified: 11-11-2015, 02:55 AM by wolfgang1983.)

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() {
$this->data['content_page'] = 'errors/html/error_db';

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');?>
<div id="content">
<div class="container-fluid">
<?php $this->load->view($content_page);?>
<?php $this

Would that be possible?
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!

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.

Theme © iAndrew 2016 - Forum software by © MyBB