fix the redirect location
This commit is contained in:
parent
c3e9b2b177
commit
d1d4fa7b8f
|
@ -213,7 +213,7 @@ if ( ZM_OPT_USE_AUTH && ! isset($user) ) {
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
||||||
if ( $redirect ) {
|
if ( $redirect ) {
|
||||||
header('Location: /index.php?view='.$view);
|
header('Location: '.ZM_BASE_URL.$_SERVER['PHP_SELF'].'?view='.$view);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue