1
0
Fork 0

changes in api call for showing profiles and disable proxy for images in html code for api calls

This commit is contained in:
gerhard6380 2016-11-09 21:35:52 +01:00
commit 623d809cc3
2 changed files with 13 additions and 13 deletions

View file

@ -248,7 +248,7 @@ function proxy_url($url, $writemode = false, $size = "") {
return($url);
}
if (get_config("system", "proxy_disabled"))
if (get_config("system", "proxy_disabled") || $a->module == "api")
return($url);
// Creating a sub directory to reduce the amount of files in the cache directory