- Timestamp:
- 04/13/10 09:36:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/www/app/models/validator.php
r349 r352 217 217 curl_setopt($curl, CURLOPT_TIMEOUT, 120); 218 218 $this->response = curl_exec($curl); 219 curl_close($curl);220 219 221 220 // No response, an error or a timeout … … 226 225 return; 227 226 } 227 curl_close($curl); 228 228 229 229 if (preg_match('/Grand total count of validity errors: (\d+)/', $this->response, $match)) { … … 293 293 curl_setopt($curl, CURLOPT_TIMEOUT, 120); 294 294 $this->response = curl_exec($curl); 295 curl_close($curl);296 295 297 296 // No response, an error or a timeout … … 302 301 return; 303 302 } 303 curl_close($curl); 304 304 305 305 // Parse the results
Note: See TracChangeset
for help on using the changeset viewer.