зеркало из https://github.com/mozilla/pjs.git
Fixed redirect to not be hard-coded to http://, and pretty much avoided that problem by using an include instead.
This commit is contained in:
Родитель
e91e12f45d
Коммит
1d8ffada26
|
@ -51,7 +51,7 @@ if (!empty($sql['issue_id']) && count($sql['issue_id']) > 0) {
|
|||
}
|
||||
|
||||
// Redirect to thank you page, and we're done.
|
||||
header('Location: http://'.$_SERVER['HTTP_HOST'].WEB_PATH.'/thanks.php');
|
||||
require_once('./thanks.php');
|
||||
exit;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче