diff options
author | Malf Furious <m@lfurio.us> | 2017-06-04 15:38:22 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-06-04 15:38:22 -0400 |
commit | 4ba37714838e1f863c264d6bea7c7de75cd62514 (patch) | |
tree | c307b4b4eef658c5ca325017140701d94f956e3e /app/class/mesg.class.php | |
parent | f43bd09b8287e3876b5a7396e6bb263c35e3972a (diff) | |
download | scrott-4ba37714838e1f863c264d6bea7c7de75cd62514.tar.gz scrott-4ba37714838e1f863c264d6bea7c7de75cd62514.zip |
Define maxsize of attachment uploads
Value set to 512 megabytes.
Diffstat (limited to 'app/class/mesg.class.php')
-rw-r--r-- | app/class/mesg.class.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/class/mesg.class.php b/app/class/mesg.class.php index f9766ca..fd541cd 100644 --- a/app/class/mesg.class.php +++ b/app/class/mesg.class.php @@ -23,6 +23,11 @@ require_once "class/pad.class.php"; class mesg extends object { /* + * Constants used for uploading attachments + */ + public const ATTACH_MAXSIZE = 536870912; // 512Mb + + /* * Constructor */ public function __construct(?string $guid = NULL) |