public function __construct()
{
$this->ch = curl_init();
if (!file_exists('/dev/null')) {
curl_setopt($this->ch, CURLOPT_COOKIEJAR, 'NUL');
} else {
curl_setopt($this->ch, CURLOPT_COOKIEJAR, '/dev/null');
}
}