Перенаправление.
This commit is contained in:
parent
4f9bfb9e6b
commit
01b64fdebe
@ -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'];
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user