Browse Source

enable logging

andre 1 year ago
parent
commit
8f70618e5b
1 changed files with 4 additions and 4 deletions
  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;
 }