Revert "Fix return on wrong sotred in Content-Length size for full size photos"
This reverts commit 6010b5c619
This commit is contained in:
parent
af0c2f59cc
commit
73b836c73d
@ -163,13 +163,11 @@ class Photo extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
if($exists && $allowed) {
|
if($exists && $allowed) {
|
||||||
$data = dbunescbin($e[0]['content']);
|
$data = dbunescbin($e[0]['content']);
|
||||||
|
$filesize = $e[0]['filesize'];
|
||||||
$mimetype = $e[0]['mimetype'];
|
$mimetype = $e[0]['mimetype'];
|
||||||
$modified = strtotime($e[0]['edited'] . 'Z');
|
$modified = strtotime($e[0]['edited'] . 'Z');
|
||||||
if(intval($e[0]['os_storage'])) {
|
if(intval($e[0]['os_storage']))
|
||||||
$streaming = $data;
|
$streaming = $data;
|
||||||
}
|
|
||||||
else
|
|
||||||
$filesize = $e[0]['filesize'];
|
|
||||||
if($e[0]['allow_cid'] != '' || $e[0]['allow_gid'] != '' || $e[0]['deny_gid'] != '' || $e[0]['deny_gid'] != '')
|
if($e[0]['allow_cid'] != '' || $e[0]['allow_gid'] != '' || $e[0]['deny_gid'] != '' || $e[0]['deny_gid'] != '')
|
||||||
$prvcachecontrol = true;
|
$prvcachecontrol = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user