From 080611eb878166b93b9ac334a17826fca44ffdf9 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 21 Mar 2019 22:48:20 -0400 Subject: Update df.php to serve thumbnails df.php will now serve bg image thumbnails when d=thumbs. Normal access requirements stand. Signed-off-by: Malf Furious --- app/df.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') diff --git a/app/df.php b/app/df.php index 97cd055..80aec5a 100644 --- a/app/df.php +++ b/app/df.php @@ -96,6 +96,10 @@ function main(string $dir, string $guid) : void serveResource("dynmic/bgs/" . $guid); break; + case "thumbs": + serveResource("dynmic/thumbs/" . $guid); + break; + case "attach": $mesg = new mesg($guid); serveResource("dynmic/attach/" . $guid, $mesg->attachment); -- cgit v1.2.3