@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | $myPost = array(); |
119 | 119 | foreach ($raw_post_array as $keyval) |
120 | 120 | { |
121 | - $keyval = explode ('=', $keyval); |
|
121 | + $keyval = explode('=', $keyval); |
|
122 | 122 | if (count($keyval) == 2) |
123 | 123 | { |
124 | 124 | $myPost[$keyval[0]] = urldecode($keyval[1]); |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | } |
158 | 158 | curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
159 | 159 | curl_setopt($ch, CURLOPT_POST, 1); |
160 | - curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); |
|
160 | + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
|
161 | 161 | curl_setopt($ch, CURLOPT_POSTFIELDS, $req); |
162 | 162 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); |
163 | 163 | curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); |