]> git.mxchange.org Git - friendica.git/commitdiff
provide default photo and text limits (which can be over-ridden)
authorFriendika <info@friendika.com>
Wed, 10 Nov 2010 02:31:43 +0000 (18:31 -0800)
committerFriendika <info@friendika.com>
Wed, 10 Nov 2010 02:31:43 +0000 (18:31 -0800)
htconfig.php
view/htconfig.tpl

index 36c685f7c160d334b66b63e9e9503c23d5ae9b93..8f64899657da644efcbf21f182d2737181189cc5 100644 (file)
@@ -36,10 +36,14 @@ $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'] = 10000;
 
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
 // Location of PHP command line processor
 
 $a->config['php_path'] = 'php';
index dcc21f566790656c5269b21087e341e38b4594ca..6e58d593b7ef61b2a475c7c3d3727109c86a911c 100644 (file)
@@ -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