X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/2b099ad2fc3663697e45dd16f4b82341e0267c86..c1e881bf91137ae05b6ceb99db1234e71be200ec:/message_view.php?ds=sidebyside diff --git a/message_view.php b/message_view.php index aa276d8..93cc339 100644 --- a/message_view.php +++ b/message_view.php @@ -14,7 +14,7 @@ $mail = unserialize($_SESSION['mailInfo'][$id]); if (! is_object($mail) || false == $util->authorized($mail->recipient)) { - header('Location: index.php'); + header('Location: qtadmin.php'); exit; } @@ -95,7 +95,7 @@ echo ''; echo $util->getFooter(); } else if ($loggedIn) { - header('Location: index.php'); + header('Location: qtadmin.php'); } else { header('Location: auth.php'); }