diff --git a/mod/proxy.php b/mod/proxy.php index 2cc798cdca..abcaf49127 100644 --- a/mod/proxy.php +++ b/mod/proxy.php @@ -248,7 +248,7 @@ function proxy_url($url, $writemode = false, $size = "") { return($url); } - if (get_config("system", "proxy_disabled") || $a->module == "api") + if (get_config("system", "proxy_disabled")) return($url); // Creating a sub directory to reduce the amount of files in the cache directory