EngineGP/system/engine/404.php
Sergei Solovev a45b4fab62 Changing file routing
Removed unnecessary ROOT constant
The DIR constant has been changed
All dependencies have been edited
2023-09-03 15:08:57 +03:00

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'));
?>