aboutsummaryrefslogtreecommitdiffstats
path: root/404.php
blob: 0fdf419d527544678eb96d5a201b9d5f2213f4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
#===============================================================================
# INCLUDE: Initialization
#===============================================================================
require_once 'core/application.php';

#===============================================================================
# Send HTTP status code
#===============================================================================
http_response_code(404);

$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', '404 Not Found');
$MainTemplate->set('HEAD', ['NAME' => $MainTemplate->get('NAME')]);
$MainTemplate->set('HTML', Template\Factory::build('404'));

echo $MainTemplate;