Curl gyorsítás
public function refreshData() diff:
--response = @file_get_contents(self::
host . 'api/profile/?access_token=' . $this->tokens->access_token);
++$ch = curl_init();
++curl_setopt(ch, CURLOPT_URL, self::
host . 'api/profile/?access_token=' . $this->tokens->access_token);
++curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
++response = curl_exec(
ch);
++curl_close($ch);