Cron, file_get_contents(), URL file-access

I've encountered a problem while setting up a cron job.
The script runs fine if I open it in a browser.
When cron executes it it returns the following error messages through email:
Warning: file_get_contents(): URL file-access is disabled in the server configuration in .......... on line 180
Warning: file_get_contents(.............): failed to open stream: no suitable wrapper could be found in ................ on line 180
Code (markup):
Line 180 is the following:...

Cron, file_get_contents(), URL file-access

from PHP http://ift.tt/1rcNv5V
via IFTTT
Thanks for your comment
Loading...