andre 7 mesiacov pred
rodič
commit
7af7ab63d8
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      controllers/SiteController.php

+ 1 - 1
controllers/SiteController.php

@@ -207,7 +207,7 @@ class SiteController {
 
     public static function disable($data): void {
         $domain = $data['domain'] ?? '';
-
+        if ($GLOBALS['debug'] == true) { error_log("Disable site : " . $domain); }
         if (empty($domain)) {
             http_response_code(400);
             echo json_encode(['error' => 'Missing required parameter: domainname']);