From d1d4fa7b8f27c401dbe36d41c89bad512050056c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 19 Apr 2017 10:02:07 -0400 Subject: [PATCH] fix the redirect location --- web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index.php b/web/index.php index d3a51deba..0fda336c0 100644 --- a/web/index.php +++ b/web/index.php @@ -213,7 +213,7 @@ if ( ZM_OPT_USE_AUTH && ! isset($user) ) { session_write_close(); if ( $redirect ) { - header('Location: /index.php?view='.$view); + header('Location: '.ZM_BASE_URL.$_SERVER['PHP_SELF'].'?view='.$view); return; }