22 lines
747 B
PHP
22 lines
747 B
PHP
<?php
|
|
/*
|
|
* EngineGP (https://enginegp.ru or https://enginegp.com)
|
|
*
|
|
* @link https://github.com/EngineGPDev/EngineGP
|
|
* @link https://gitforge.ru/EngineGP/EngineGP
|
|
* @copyright Copyright (c) Solovev Sergei <inbox@seansolovev.ru>
|
|
* @license https://github.com/EngineGPDev/EngineGP/blob/main/LICENSE
|
|
* @license https://gitforge.ru/EngineGP/EngineGP/src/branch/main/LICENSE
|
|
*/
|
|
|
|
if (!DEFINED('EGP'))
|
|
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/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'));
|