diff --git a/src/Module/Proxy.php b/src/Module/Proxy.php index c7f7673b8a..787b68e110 100644 --- a/src/Module/Proxy.php +++ b/src/Module/Proxy.php @@ -131,7 +131,7 @@ class Proxy extends BaseModule // Store original image if ($direct_cache) { // direct cache , store under ./proxy/ - $filename = $basepath . '/proxy/' . ProxyUtils::proxifyUrl($request['url'], true) + $filename = $basepath . '/proxy/' . ProxyUtils::proxifyUrl($request['url'], true); file_put_contents($filename, $image->asString()); chmod($filename, DI::config()->get('system', 'proxy_file_chmod', 0640)); } elseif($cachefile !== '') {