]> git.mxchange.org Git - friendica.git/blobdiff - mod/proxy.php
Issue-#3873
[friendica.git] / mod / proxy.php
index d6f76da70bdf9a514e994cc8bf00a77deef49301..601fb79637de3d1556dcf319b015cf77533d3d6b 100644 (file)
@@ -2,6 +2,7 @@
 // Based upon "Privacy Image Cache" by Tobias Hößl <https://github.com/CatoTH/>
 
 use Friendica\App;
+use Friendica\Core\Config;
 use Friendica\Core\System;
 
 define('PROXY_DEFAULT_TIME', 86400); // 1 Day
@@ -258,7 +259,7 @@ function proxy_url($url, $writemode = false, $size = '') {
                return $url;
        }
 
-       if (get_config('system', 'proxy_disabled')) {
+       if (Config::get('system', 'proxy_disabled')) {
                return $url;
        }