diff options
author | Malf Furious <m@lfurio.us> | 2019-03-21 22:48:20 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2019-03-21 22:48:20 -0400 |
commit | 080611eb878166b93b9ac334a17826fca44ffdf9 (patch) | |
tree | 7667d7463febd3869b831f4c7586776b81bc7edc /app | |
parent | e8fed693e9568e2e71d6a9de61309cd9b895b602 (diff) | |
download | scrott-080611eb878166b93b9ac334a17826fca44ffdf9.tar.gz scrott-080611eb878166b93b9ac334a17826fca44ffdf9.zip |
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 <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r-- | app/df.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |