You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-07 17:42:53 +03:00
Remove usage of $CONF['postfix_admin_url'] in various Location: headers
to avoid problems with wrong values of $CONF['postfix_admin_url']. https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3039042&group_id=191583 contains the technical details and reasons. Note: $CONF['postfix_admin_url'] is still used at some places that are a bit harder to change. git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1021 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -33,7 +33,7 @@ function authentication_get_username()
|
||||
}
|
||||
|
||||
if (!isset($_SESSION['sessid'])) {
|
||||
header ("Location: " . $CONF['postfix_admin_url'] . "/login.php");
|
||||
header ("Location: login.php");
|
||||
exit(0);
|
||||
}
|
||||
$SESSID_USERNAME = $_SESSION['sessid']['username'];
|
||||
|
Reference in New Issue
Block a user