Skip to content
Snippets Groups Projects
Commit 89db6306 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

fix redirect, fixes #2551

Closes #2551

Merge request studip/studip!1722
parent 92f2cf7d
No related branches found
No related tags found
No related merge requests found
...@@ -403,11 +403,12 @@ class Admin_InstallController extends Trails_Controller ...@@ -403,11 +403,12 @@ class Admin_InstallController extends Trails_Controller
public function migrate_action() public function migrate_action()
{ {
URLHelper::setBaseURL($_SESSION['STUDIP_INSTALLATION']['system']['ABSOLUTE_URI_STUDIP']);
unset($_SESSION['STUDIP_INSTALLATION']); unset($_SESSION['STUDIP_INSTALLATION']);
session_destroy(); session_destroy();
header('Location: ' . dirname($_SERVER['SCRIPT_NAME']) . '/web_migrate.php'); $this->redirect(URLHelper::getURL('web_migrate.php'));
die;
} }
public function session_error_action() public function session_error_action()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment