Ops, missing ";"
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
736045c67d
commit
15fd6822e4
|
@ -131,7 +131,7 @@ class Proxy extends BaseModule
|
||||||
// Store original image
|
// Store original image
|
||||||
if ($direct_cache) {
|
if ($direct_cache) {
|
||||||
// direct cache , store under ./proxy/
|
// 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());
|
file_put_contents($filename, $image->asString());
|
||||||
chmod($filename, DI::config()->get('system', 'proxy_file_chmod', 0640));
|
chmod($filename, DI::config()->get('system', 'proxy_file_chmod', 0640));
|
||||||
} elseif($cachefile !== '') {
|
} elseif($cachefile !== '') {
|
||||||
|
|
Loading…
Reference in a new issue