+1 vote
by
I need to output the contents of the svg into a container. I take the link via bloginfo('template_url'). "my_path". Then I try to output it via include or file-get-contents but it says either the link is wrong (even though I checked it's ok) or ": include(): http:/ wrapper is disabled in the server configuration by allow_url_fopen=0 in". How can I fix it?

1 Answer

0 votes
by
 
Best answer
Everything is written (and even the name of the setting is given):
http:// wrapper is disabled in the server configuration by allow_url_fopen=0


Inluding links in php configs is not allowed. You either have to allow it, or download the file manually and inlude from a local file.
...