aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-09 18:31:43 -0800
committerFriendika <info@friendika.com>2010-11-09 18:31:43 -0800
commit0e1af81d4253ee6997fa9cc87e0b6f1ccf16b9a0 (patch)
tree9a0f61bb4e85bbebf02dc3b4de44b4ec8b30ba30 /view
parentf4fd67992812c5c356ff51e875077921a2222d90 (diff)
downloadvolse-hubzilla-0e1af81d4253ee6997fa9cc87e0b6f1ccf16b9a0.tar.gz
volse-hubzilla-0e1af81d4253ee6997fa9cc87e0b6f1ccf16b9a0.tar.bz2
volse-hubzilla-0e1af81d4253ee6997fa9cc87e0b6f1ccf16b9a0.zip
provide default photo and text limits (which can be over-ridden)
Diffstat (limited to 'view')
-rw-r--r--view/htconfig.tpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/view/htconfig.tpl b/view/htconfig.tpl
index dcc21f566..6e58d593b 100644
--- a/view/htconfig.tpl
+++ b/view/htconfig.tpl
@@ -35,9 +35,13 @@ $a->config['register_policy'] = REGISTER_OPEN;
$a->config['register_text'] = '';
$a->config['admin_email'] = '';
-// Maximum size of an imported message, 0 is unlimited (but our database 'text' element is limited to 65535).
+// Maximum size of an imported message, 0 is unlimited
-$a->config['max_import_size'] = 65535;
+$a->config['max_import_size'] = 10000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
// Location of PHP command line processor