diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-16 23:33:45 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-16 23:33:45 +0100 |
commit | 238a616292ad5c6e7be97a4dd763a302729abf80 (patch) | |
tree | e15cec37cde3aa21a93cfa01dc906e56ebc8bb2e /Zotlabs | |
parent | 6010b5c6198bf49c39029a657443b5bf1be8b408 (diff) | |
download | volse-hubzilla-238a616292ad5c6e7be97a4dd763a302729abf80.tar.gz volse-hubzilla-238a616292ad5c6e7be97a4dd763a302729abf80.tar.bz2 volse-hubzilla-238a616292ad5c6e7be97a4dd763a302729abf80.zip |
Add filesize for streaming content
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Photo.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 91175c7df..be9d55eb2 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -167,6 +167,7 @@ class Photo extends \Zotlabs\Web\Controller { $modified = strtotime($e[0]['edited'] . 'Z'); if(intval($e[0]['os_storage'])) { $streaming = $data; + $filesize = filesize($data); } else $filesize = $e[0]['filesize']; |