SAE_2.02/CodeIgniter-3.1.13/application/controllers/Errors.php

21 lines
522 B
PHP
Raw Normal View History

2024-05-28 21:19:33 +02:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Errors extends CI_Controller {
public function __construct() {
parent::__construct();
}
public function error_404() {
$this->output->set_status_header('404');
2024-05-30 13:49:35 +02:00
$data['title'] = '404 - Page non trouvée';
$data['css']='assets/css/error_404.css';
$this->load->view('layout/header_dark', $data);
2024-05-28 21:19:33 +02:00
$this->load->view('error_404');
$this->load->view('layout/footer_dark');
}
}