added baseUrl to config
This commit is contained in:
parent
6ab3e1f76b
commit
c2b818ecb8
2 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Responder {
|
||||||
$response->content_type = "ms-json";
|
$response->content_type = "ms-json";
|
||||||
$response->content = new MSAutodiscoverJSONResponse();
|
$response->content = new MSAutodiscoverJSONResponse();
|
||||||
$response->content->Protocol = "AutodiscoverV1";
|
$response->content->Protocol = "AutodiscoverV1";
|
||||||
$response->content->Url = "https://" . $_SERVER['HTTP_HOST'] . "/Autodiscover/Autodiscover.xml";
|
$response->content->Url = Core::$Config["BaseURL"] . "/Autodiscover/Autodiscover.xml";
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
private function dummy_response(){
|
private function dummy_response(){
|
||||||
|
|
|
@ -6,6 +6,8 @@ Domain = example.com
|
||||||
LogonDomain = example.local
|
LogonDomain = example.local
|
||||||
RequireAuthDomain = false
|
RequireAuthDomain = false
|
||||||
|
|
||||||
|
BaseURL = "https://autoconfig.example.com"
|
||||||
|
|
||||||
; Admin User configuration
|
; Admin User configuration
|
||||||
; not in use yet
|
; not in use yet
|
||||||
;[AdminUser]
|
;[AdminUser]
|
||||||
|
|
Loading…
Reference in a new issue