Custom logout URL configurable in config.inc.php file.
| | |
| | | $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'); |
| | |
| | | |
| | | $conf["language"] = 'en'; |
| | | |
| | | /* |
| | | Misc. |
| | | */ |
| | | |
| | | $conf["interface_logout_url"] = ""; // example: http://www.domain.tld/ |
| | | |
| | | |
| | | /* |
| | | Auto Load Modules |
| | |
| | | $conf['start_db'] = true; |
| | | $conf['start_session'] = true; |
| | | |
| | | /* |
| | | Misc. |
| | | */ |
| | | |
| | | $conf["interface_logout_url"] = ""; // example: http://www.domain.tld/ |
| | | |
| | | |
| | | //** DNS Settings |
| | | |
| | |
| | | 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; |
| | | ?> |