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(){
|
||||
$resp = false;
|
||||
// Handle the requested URL, using as many known autoconfiguration urls as possible
|
||||
switch (Core::$CurrentPage){
|
||||
switch (strtolower(Core::$CurrentPage)){
|
||||
case "get/test":
|
||||
$resp = $this->dummy_response();
|
||||
break;
|
||||
|
@ -49,11 +49,9 @@ class Responder {
|
|||
$resp = $this->moz_auto_config();
|
||||
break;
|
||||
case "autodiscover/autodiscover.xml":
|
||||
case "Autodiscover/Autodiscover.xml":
|
||||
$resp = $this->ms_autodiscover();
|
||||
break;
|
||||
case "autodiscover/autodiscover.json":
|
||||
case "Autodiscover/Autodiscover.json":
|
||||
$resp = $this->ms_autodiscover_json();
|
||||
break;
|
||||
case "none":
|
||||
|
|
Loading…
Reference in a new issue