tasianmedia / getVimeo

A simple video retrieval Snippet for MODX Revolution
http://modx.com/extras/package/getvimeo
2 stars 5 forks source link

Fix for file_get_contents on shared hosting #16

Closed conorokelly closed 6 years ago

conorokelly commented 7 years ago

Hey, Shared hosting generally does not allow file_get_contents. The $file_get_contents_curl function replaces it .

davidpede commented 6 years ago

Thanks, this needed doing. I have used the curl func in this pr and applied it in a service class which is a more favoured modx approach.

PR #17 releases 1.2.0-pl with this specifically addressed in commit https://github.com/tasianmedia/getVimeo/pull/17/commits/179efe3bbb648338ba4805c4083a515ebe4f5fc8

Thanks again!