stanley-king 3 lat temu
rodzic
commit
2199a399a9
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      core/framework/function/http.php

+ 2 - 2
core/framework/function/http.php

@@ -11,7 +11,7 @@ defined('InShopNC') or exit('Access Invalid!');
 
 function http_request($url, $params = array(), $method = 'GET', $multi = false, $extheaders = array()) 
 {
-    if (!function_exists('curl_init')) {  
+    if (!function_exists('curl_init')) {
         return false;
     }
 
@@ -25,7 +25,7 @@ function http_request($url, $params = array(), $method = 'GET', $multi = false,
     curl_setopt($ci, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
 
     $headers = (array) $extheaders;
-    switch ($method) 
+    switch ($method)
     {
         case 'POST':
             curl_setopt($ci, CURLOPT_POST, TRUE);