Explorar o código

add cwp7CheckLimit

andre %!s(int64=3) %!d(string=hai) anos
pai
achega
b0c439a34c
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      api/cwp7/Admin.php

+ 7 - 0
api/cwp7/Admin.php

@@ -418,6 +418,13 @@ class cwp7_Admin {
         curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
         curl_setopt($ch, CURLOPT_POST, 1);
         $response = curl_exec($ch);
+        logModuleCall(
+            'cwp7',
+            __FUNCTION__,
+            $action,
+            'debug',
+            $response
+        );
         if(curl_getinfo($ch, CURLINFO_RESPONSE_CODE) != 200) {
             curl_close($ch);
             return array('status' => 'Error', 'err_msg' => curl_error($ch));