added strtolower for page name so I can remove uppercase variances of the page url
This commit is contained in:
parent
99257788e5
commit
40fa248e31
1 changed files with 1 additions and 3 deletions
|
@ -37,7 +37,7 @@ class Responder {
|
||||||
private function get_response(){
|
private function get_response(){
|
||||||
$resp = false;
|
$resp = false;
|
||||||
// Handle the requested URL, using as many known autoconfiguration urls as possible
|
// Handle the requested URL, using as many known autoconfiguration urls as possible
|
||||||
switch (Core::$CurrentPage){
|
switch (strtolower(Core::$CurrentPage)){
|
||||||
case "get/test":
|
case "get/test":
|
||||||
$resp = $this->dummy_response();
|
$resp = $this->dummy_response();
|
||||||
break;
|
break;
|
||||||
|
@ -49,11 +49,9 @@ class Responder {
|
||||||
$resp = $this->moz_auto_config();
|
$resp = $this->moz_auto_config();
|
||||||
break;
|
break;
|
||||||
case "autodiscover/autodiscover.xml":
|
case "autodiscover/autodiscover.xml":
|
||||||
case "Autodiscover/Autodiscover.xml":
|
|
||||||
$resp = $this->ms_autodiscover();
|
$resp = $this->ms_autodiscover();
|
||||||
break;
|
break;
|
||||||
case "autodiscover/autodiscover.json":
|
case "autodiscover/autodiscover.json":
|
||||||
case "Autodiscover/Autodiscover.json":
|
|
||||||
$resp = $this->ms_autodiscover_json();
|
$resp = $this->ms_autodiscover_json();
|
||||||
break;
|
break;
|
||||||
case "none":
|
case "none":
|
||||||
|
|
Loading…
Reference in a new issue