Browse Source

cleanup & comment

andre 7 tháng trước cách đây
mục cha
commit
7af7ab63d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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']);