Skip to content

Commit aa33a20

Browse files
committed
fixed problem with wrong redirect url, when no cookie were set
1 parent 89fc4d2 commit aa33a20

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/resources/migration_redirect.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// ----------------------------------------------------------------------------
2424

2525
$success = false;
26+
$redirect_url = WEBCAT_LOCATION;
2627

2728
if( isset($_COOKIE[COOKIE_HISTORY]) and $_COOKIE[COOKIE_HISTORY] != "" ) {
2829
// history cookie is set -> decode it
@@ -66,7 +67,7 @@
6667
h1 { width: 100%; font 1.5em bold; line-height: 1.05em; margin-bottom: 2em; }
6768
p, div.ws-list { margin-bottom: 3em; padding: 0 5px; text-align: justify; }
6869
p.button { text-align: center; }
69-
a.button { display: box; padding: 0.5em 1em; color: #FFF; background-color: #0D0; text-align: center; vertical-align: center; font: 1.3em bold; text-decoration: none; }
70+
a.button { display: box; padding: 0.5em 1em; color: #FFF; background-color: #0D0; text-align: center; vertical-align: center; font: 1.3em bold; text-decoration: none; font-weight: bold; }
7071
a.button:hover { background-color: #090 !important; }
7172
</style>
7273
</head>
@@ -80,7 +81,7 @@
8081
This <a href="http://sems.uni-rostock.de/cat" target="_blank">webCAT</a> instance move to a new domain.
8182
<?php if( $success ) { ?>
8283
To ensure you can still access your pressures workspaces and archives
83-
you can migrate the history cookie, which contains all the workspace ids. To do so please click on the button down below.
84+
you can migrate the history cookie, which contains all the workspace IDs. To do so please click on the button down below.
8485
<?php } else { ?>
8586
It does not seem, that you do not had any workspaces stored at this place. So you can just click at the button below to
8687
access webCAT at the new domain.

0 commit comments

Comments
 (0)