Adds the ability to export an album using streaming tar.

This commit is contained in:
Roflin committed 2019-03-08 19:52:01 +00:00
1 parent 768f5ee529
commit 20db3561cf
3 files changed
+129

No files matched your search

+6
View File
@@ -61,7 +61,13 @@ class ViewPhotoAlbum extends HTMLController
// Can we do fancy things here?
// !!! TODO: permission system?
$buttons = [];
if (Registry::get('user')->isLoggedIn())
$buttons[] = [
'url' => BASEURL . '/download/?tag=' . $id_tag,
'caption' => 'Download this album',
];
$buttons[] = [
'url' => BASEURL . '/uploadmedia/?tag=' . $id_tag,
'caption' => 'Upload new photos here',