File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ $conf['timezone'] = '{timezone}';
158158
159159//** Misc.
160160$conf['interface_logout_url'] = ''; // example: http://www.domain.tld/
161+ $conf['interface_base_url'] = ''; // example: http://www.domain.tld (no trailing slash)
161162
162163
163164//** Auto Load Modules
Original file line number Diff line number Diff line change 8484 else $ server_domain = 'https:// ' . $ server_domain ;
8585
8686 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+ }
8790
8891 $ app ->uses ('getconf,ispcmail ' );
8992 $ server_config_array = $ app ->getconf ->get_global_config ();
You can’t perform that action at this time.
0 commit comments