From 4ba37714838e1f863c264d6bea7c7de75cd62514 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 4 Jun 2017 15:38:22 -0400 Subject: Define maxsize of attachment uploads Value set to 512 megabytes. --- app/class/mesg.class.php | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ -22,6 +22,11 @@ require_once "class/pad.class.php"; */ class mesg extends object { + /* + * Constants used for uploading attachments + */ + public const ATTACH_MAXSIZE = 536870912; // 512Mb + /* * Constructor */ -- cgit v1.2.3