{"action":"created","issue":{"url":"https://api.github.com/repos/e107inc/e107/issues/1315","repository_url":"https://api.github.com/repos/e107inc/e107","labels_url":"https://api.github.com/repos/e107inc/e107/issues/1315/labels{/name}","comments_url":"https://api.github.com/repos/e107inc/e107/issues/1315/comments","events_url":"https://api.github.com/repos/e107inc/e107/issues/1315/events","html_url":"https://github.com/e107inc/e107/issues/1315","id":130137192,"number":1315,"title":"Sync with Github on localhost","user":{"login":"Jimmi08","id":5429548,"avatar_url":"https://avatars.githubusercontent.com/u/5429548?v=3","gravatar_id":"","url":"https://api.github.com/users/Jimmi08","html_url":"https://github.com/Jimmi08","followers_url":"https://api.github.com/users/Jimmi08/followers","following_url":"https://api.github.com/users/Jimmi08/following{/other_user}","gists_url":"https://api.github.com/users/Jimmi08/gists{/gist_id}","starred_url":"https://api.github.com/users/Jimmi08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jimmi08/subscriptions","organizations_url":"https://api.github.com/users/Jimmi08/orgs","repos_url":"https://api.github.com/users/Jimmi08/repos","events_url":"https://api.github.com/users/Jimmi08/events{/privacy}","received_events_url":"https://api.github.com/users/Jimmi08/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e107inc/e107/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/e107inc/e107/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/e107inc/e107/labels/testing%20required","name":"testing required","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-31T15:09:21Z","updated_at":"2016-02-08T06:44:34Z","closed_at":null,"body":"Does this work on localhost?\r\n\r\nI got this error, but file is downloaded:\r\n![image](https://cloud.githubusercontent.com/assets/5429548/12702808/337219cc-c833-11e5-839e-adc12dd3cb30.png)\r\n\r\nAfter dump curl_error() in file_class.php I got this error:\r\nSSL certificate problem: unable to get local issuer certificate\r\n\r\nAfter adding curl_setopt($cp, CURLOPT_SSL_VERIFYPEER, FALSE); sync worked. \r\n\r\nThis setting is set with get_remote_content(), but not with get_remote_file().\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/e107inc/e107/issues/comments/181227693","html_url":"https://github.com/e107inc/e107/issues/1315#issuecomment-181227693","issue_url":"https://api.github.com/repos/e107inc/e107/issues/1315","id":181227693,"user":{"login":"CaMer0n","id":2825679,"avatar_url":"https://avatars.githubusercontent.com/u/2825679?v=3","gravatar_id":"","url":"https://api.github.com/users/CaMer0n","html_url":"https://github.com/CaMer0n","followers_url":"https://api.github.com/users/CaMer0n/followers","following_url":"https://api.github.com/users/CaMer0n/following{/other_user}","gists_url":"https://api.github.com/users/CaMer0n/gists{/gist_id}","starred_url":"https://api.github.com/users/CaMer0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaMer0n/subscriptions","organizations_url":"https://api.github.com/users/CaMer0n/orgs","repos_url":"https://api.github.com/users/CaMer0n/repos","events_url":"https://api.github.com/users/CaMer0n/events{/privacy}","received_events_url":"https://api.github.com/users/CaMer0n/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T06:44:34Z","updated_at":"2016-02-08T06:44:34Z","body":"@Jimmi08 If that fixed it for you, would you like to send a pull-request?"}}