소스 검색

add cwp7CheckLimit

andre 3 년 전
부모
커밋
b0c439a34c
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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));