summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/df.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/df.php b/app/df.php
index 9581cae..92dd9dd 100644
--- a/app/df.php
+++ b/app/df.php
@@ -13,6 +13,7 @@
*/
require_once "class/user.class.php";
+require_once "class/mesg.class.php";
/*
* This file is a proxy script for fetching resources from the /dynmic
@@ -93,6 +94,11 @@ function main(string $dir, string $guid) : void
case "bgs":
serveResource("dynmic/bgs/" . $guid);
break;
+
+ case "attach":
+ $mesg = new mesg($guid);
+ serveResource("dynmic/attach/" . $guid, $mesg->attachment);
+ break;
}
}
catch (Exception $e)