X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FProxy.php;h=8478ce868af103794aad2ba1c534fc929dff3a57;hb=f2ca3e5be44192c486e8e3af2a993e065ad40a7d;hp=3473e8d167ddf9b578d8390f02d5b4d3fe7af83a;hpb=71ec84f6dc83f753fe80170cfdfd32d202850d90;p=friendica.git diff --git a/src/Util/Proxy.php b/src/Util/Proxy.php index 3473e8d167..8478ce868a 100644 --- a/src/Util/Proxy.php +++ b/src/Util/Proxy.php @@ -7,8 +7,6 @@ use Friendica\BaseObject; use Friendica\Core\Config; use Friendica\Core\System; -require_once 'include/security.php'; - /** * @brief Proxy utilities class */ @@ -91,7 +89,7 @@ class Proxy $url = html_entity_decode($url, ENT_NOQUOTES, 'utf-8'); // Creating a sub directory to reduce the amount of files in the cache directory - $basepath = $a->get_basepath() . '/proxy'; + $basepath = $a->getBasePath() . '/proxy'; $shortpath = hash('md5', $url); $longpath = substr($shortpath, 0, 2);