Ver Fonte

enable logging

andre há 1 ano atrás
pai
commit
8f70618e5b
1 ficheiros alterados com 4 adições e 4 exclusões
  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;
 }