Enforce a maximum document size of the document editor of 5 MB

This commit is contained in:
Veronica K. B. Olsen
2020-10-06 13:18:42 +02:00
parent b3b3c581f0
commit 3893892927
2 changed files with 54 additions and 13 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ class nwConst():
fStampFmt = "%Y-%m-%d %H.%M.%S" # FileName safe format
dStampFmt = "%Y-%m-%d" # Date only format
maxDepth = 30 # Maximum folder depth of a project
maxDepth = 30 # Maximum folder depth of a project
maxDocSize = 5000000 # Maxium size of a single document
maxBuildSize = 10000000 # Maxium size of a project build
# END Class nwConst