Merge branch 'fix-photo' into 'dev'
Fix photo See merge request hubzilla/core!1382
This commit is contained in:
commit
e35f5d3c93
@ -262,7 +262,7 @@ class Photo extends \Zotlabs\Web\Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s", $modified) . " GMT");
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s", $modified) . " GMT");
|
||||||
header("Content-Length: " . $filesize);
|
header("Content-Length: " . (isset($filesize) ? $filesize : strlen($data)));
|
||||||
|
|
||||||
// If it's a file resource, stream it.
|
// If it's a file resource, stream it.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user