EngineGP/system/engine/replenish.php
Sergei Solovev b59003e559 Reformat code
This update contains code reformatting to meet PHP standards.
2023-11-12 21:12:42 +03:00

12 lines
360 B
PHP

<?php
if (!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://' . $_SERVER['SERVER_NAME'] . '/404'));
if (!isset($url['response']) and !in_array($url['response'], array('success', 'fail')))
exit();
if ($url['response'] == 'success')
sys::out(file_get_contents(ROOT . 'success.html'));
else
sys::out(file_get_contents(ROOT . 'fail.html'));
?>