Перенаправление.

This commit is contained in:
Ivor Barhansky 2023-01-06 18:22:13 +02:00
parent 4f9bfb9e6b
commit 01b64fdebe
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Config
$c['capitalcity'] = $c['host'];
$c['abandonedplain'] = $c['host'];
$c['https'] = 'https://' . $c['host'] . DIRECTORY_SEPARATOR;
$c['exit'] = '<script>top.location="' . $c['https'] . '";</script>';
$c['exit'] = '<script>top.location.href="' . $c['https'] . '";</script>';
$c['support'] = 'support@' . $c['host'];

View File

@ -10,6 +10,8 @@ Config::init();
if (!empty($_GET['id']) && !empty($_GET['code'])) {
$status = Confirmation::byCode((int)$_GET['id'], (int)$_GET['code']);
}
header('refresh:5;url=' . Config::get('https'));
?>
<!DOCTYPE html>