From 620df024f3d8960a89eb4ed71d3ea61e2b9aa3db Mon Sep 17 00:00:00 2001
From: quentusrex <quentusrex@ispconfig3>
Date: Thu, 30 Oct 2008 13:59:40 -0400
Subject: [PATCH] Now a client can view e-mail filters created by admin, but the client can't edit them. The client can submit a change, but it isn't input in the database, nor is the client told that the changes aren't made.
---
interface/web/login/logout.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/interface/web/login/logout.php b/interface/web/login/logout.php
index cdc78f8..d4dae00 100644
--- a/interface/web/login/logout.php
+++ b/interface/web/login/logout.php
@@ -39,7 +39,11 @@
if($_SESSION["s"]["site"]["logout"] != '') {
header("Location: ".$_SESSION["s"]["site"]["logout"]);
} else {
- header("Location: ../index.php");
+ if($conf["interface_logout_url"] != '') {
+ header("Location: ".$conf["interface_logout_url"]);
+ } else {
+ header("Location: ../index.php");
+ }
}
exit;
?>
\ No newline at end of file
--
Gitblit v1.9.1