a45b4fab62
Removed unnecessary ROOT constant The DIR constant has been changed All dependencies have been edited
7 lines
178 B
PHP
7 lines
178 B
PHP
<?php
|
|
if (!DEFINED('EGP'))
|
|
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
|
|
|
|
http_response_code(404);
|
|
exit(file_get_contents(DIR . '404.html'));
|
|
?>
|