Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
845c3e7b
Commit
845c3e7b
authored
Sep 30, 2008
by
tbrehm
Browse files
Custom logout URL configurable in config.inc.php file.
parent
777da79c
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/tpl/config.inc.php.master
View file @
845c3e7b
...
...
@@ -40,6 +40,7 @@ if( !empty($_SERVER['DOCUMENT_ROOT']) ) {
$conf
[
"app_title"
]
=
"ISPConfig"
;
$conf
[
"app_version"
]
=
"3.0.0"
;
$conf
[
"modules_available"
]
=
"admin,mail,sites,monitor,client,dns"
;
$conf
[
"interface_logout_url"
]
=
""
;
//** Key paramaters
define
(
'ISPC_APP_TITLE'
,
'ISPConfig'
);
...
...
@@ -129,6 +130,12 @@ $conf["logo"] = 'themes/default/images/mydnsconfig_logo.gif';
$conf
[
"language"
]
=
'en'
;
/*
Misc.
*/
$conf
[
"interface_logout_url"
]
=
""
;
// example: http://www.domain.tld/
/*
Auto Load Modules
...
...
interface/lib/config.inc.php
View file @
845c3e7b
...
...
@@ -124,6 +124,12 @@ $conf['language'] = 'en';
$conf
[
'start_db'
]
=
true
;
$conf
[
'start_session'
]
=
true
;
/*
Misc.
*/
$conf
[
"interface_logout_url"
]
=
""
;
// example: http://www.domain.tld/
//** DNS Settings
...
...
interface/web/login/logout.php
View file @
845c3e7b
...
...
@@ -39,7 +39,11 @@ $_SESSION["s"]["module"] = null;
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment