From 7047d03c169f9486864756af72d88aed49bcc40d Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Wed, 24 Jun 2015 23:48:21 +0200 Subject: [PATCH] Due to new index page --- mail_report.php | 4 ++-- message_view.php | 4 ++-- quarantine.php | 6 +++--- show_headers.php | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mail_report.php b/mail_report.php index f8ff4ac..3607ba2 100644 --- a/mail_report.php +++ b/mail_report.php @@ -12,7 +12,7 @@ $mail = unserialize($_SESSION['mailInfo'][$id]); if (! is_object($mail) || false == $util->authorized($mail->recipient)) { - header('Location: index.php'); + header('Location: qtadmin.php'); exit; } @@ -139,7 +139,7 @@ echo ''; echo $util->getFooter(); } else if ($loggedIn) { - header('Location: index.php'); + header('Location: qtadmin.php'); } else { header('Location: auth.php'); } 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'); } diff --git a/quarantine.php b/quarantine.php index 70f271b..b6703d8 100644 --- a/quarantine.php +++ b/quarantine.php @@ -95,7 +95,7 @@ } exit; } - header('Location: index.php'); + header('Location: qtadmin.php'); } else if ($loggedIn && $request == 'purge') { $marked = unserialize($_SESSION['marked']); unset($_SESSION['marked']); @@ -118,9 +118,9 @@ error("The following messages was not purged [$str], contact administrator"); exit; } - header('Location: index.php'); + header('Location: qtadmin.php'); } else if ($loggedIn) { - header('Location: index.php'); + header('Location: qtadmin.php'); } else { header('Location: auth.php'); } diff --git a/show_headers.php b/show_headers.php index e025ccd..34ca065 100644 --- a/show_headers.php +++ b/show_headers.php @@ -12,7 +12,7 @@ $mail = unserialize($_SESSION['mailInfo'][$id]); if (! is_object($mail) || false == $util->authorized($mail->recipient)) { - header('Location: index.php'); + header('Location: qtadmin.php'); exit; } @@ -56,7 +56,7 @@ echo $output; echo $util->getFooter(); } else if ($loggedIn) { - header('Location: index.php'); + header('Location: qtadmin.php'); } else { header('Location: auth.php'); } -- 2.39.2