fix the redirect location

This commit is contained in:
Isaac Connor 2017-04-19 10:02:07 -04:00
parent c3e9b2b177
commit d1d4fa7b8f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }