Again, static *OR* object-referencing calls? Blue or red pill?

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-15 10:05:18 +01:00
parent b54c22666c
commit 2eb3727542
2 changed files with 4 additions and 4 deletions

View file

@ -267,7 +267,7 @@ function proxy_url($url, $writemode = false, $size = '') {
$url = html_entity_decode($url, ENT_NOQUOTES, 'utf-8');
// Creating a sub directory to reduce the amount of files in the cache directory
$basepath = App::get_basepath() . '/proxy';
$basepath = $a->get_basepath() . '/proxy';
$shortpath = hash('md5', $url);
$longpath = substr($shortpath, 0, 2);