Selaa lähdekoodia

enable logging

andre 1 vuosi sitten
vanhempi
commit
8f70618e5b
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      nextCloudEMailAvailable.php

+ 4 - 4
nextCloudEMailAvailable.php

@@ -36,19 +36,19 @@ logModuleCall(
     $domain
 );
 
-if (strcasecmp($domain,"seecure.ch")) {
+if (!strcasecmp($domain,"seecure.ch")) {
     echo "no1";
     exit;
 }
-if (strcasecmp($domain,"seemail.ch")) {
+if (!strcasecmp($domain,"seemail.ch")) {
     echo "no2";
     exit;
 }
-if (strcasecmp($domain,"thurmail.ch")) {
+if (!strcasecmp($domain,"thurmail.ch")) {
     echo "no3";
     exit;
 }
-if (strcasecmp($domain,"thurbit.ch")) {
+if (!strcasecmp($domain,"thurbit.ch")) {
     echo "no4";
     exit;
 }