Initial commit as of 2018-10-16
This commit is contained in:
16
application/controllers/Error404.php
Normal file
16
application/controllers/Error404.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Error404 extends MY_Controller {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->load->view('header', ['active' => '', 'title' => '404 - Seite nicht gefunden!']);
|
||||
$this->load->view('404', ['random' => rand(1, 3)]);
|
||||
$this->load->view('footer');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user