We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eccdad3 commit 6aff4fdCopy full SHA for 6aff4fd
2 files changed
install/tpl/config.inc.php.master
@@ -158,6 +158,7 @@ $conf['timezone'] = '{timezone}';
158
159
//** Misc.
160
$conf['interface_logout_url'] = ''; // example: http://www.domain.tld/
161
+$conf['interface_base_url'] = ''; // example: http://www.domain.tld (no trailing slash)
162
163
164
//** Auto Load Modules
interface/web/login/password_reset.php
@@ -84,6 +84,9 @@
84
else $server_domain = 'https://' . $server_domain;
85
86
if(isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '443') $server_domain .= ':' . $_SERVER['SERVER_PORT'];
87
+ if (!empty($conf['interface_base_url'])) {
88
+ $server_domain = $conf['interface_base_url'];
89
+ }
90
91
$app->uses('getconf,ispcmail');
92
$server_config_array = $app->getconf->get_global_config();
0 commit comments