Update Photo.php

This commit is contained in:
Max Kostikov 2018-12-03 21:33:32 +01:00
parent b586fcebab
commit 1c44912aff

View File

@ -164,7 +164,7 @@ class Photo extends \Zotlabs\Web\Controller {
); );
if($cache_mode['on']) if($cache_mode['on'])
call_hooks('cache_url_hook', $cache); call_hooks('cache_url_hook', $cache);
if(! $cache['status'] && $cache_mode['leak']) { if(! $cache['status']) {
header("Location: " . htmlspecialchars_decode($r[0]['display_path'])); header("Location: " . htmlspecialchars_decode($r[0]['display_path']));
killme(); killme();
} }