2023-03-04 23:45:46 +00:00
|
|
|
<?php
|
2024-04-10 20:20:14 +00:00
|
|
|
/*
|
|
|
|
* EngineGP (https://enginegp.ru or https://enginegp.com)
|
|
|
|
*
|
2024-04-10 20:31:20 +00:00
|
|
|
* @copyright Copyright (c) 2018-present Solovev Sergei <inbox@seansolovev.ru>
|
|
|
|
*
|
|
|
|
* @link https://github.com/EngineGPDev/EngineGP for the canonical source repository
|
|
|
|
* @link https://gitforge.ru/EngineGP/EngineGP for the canonical source repository
|
|
|
|
*
|
|
|
|
* @license https://github.com/EngineGPDev/EngineGP/blob/main/LICENSE MIT License
|
|
|
|
* @license https://gitforge.ru/EngineGP/EngineGP/src/branch/main/LICENSE MIT License
|
2024-04-10 20:20:14 +00:00
|
|
|
*/
|
|
|
|
|
2023-11-12 18:12:42 +00:00
|
|
|
if (!DEFINED('EGP'))
|
2023-12-23 01:50:14 +00:00
|
|
|
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
|
2023-03-04 23:45:46 +00:00
|
|
|
|
2023-11-12 18:12:42 +00:00
|
|
|
if (!isset($url['response']) and !in_array($url['response'], array('success', 'fail')))
|
|
|
|
exit();
|
2023-03-04 23:45:46 +00:00
|
|
|
|
2023-11-12 18:12:42 +00:00
|
|
|
if ($url['response'] == 'success')
|
|
|
|
sys::out(file_get_contents(ROOT . 'success.html'));
|
|
|
|
else
|
|
|
|
sys::out(file_get_contents(ROOT . 'fail.html'));
|