provide default photo and text limits (which can be over-ridden)

This commit is contained in:
Friendika 2010-11-09 18:31:43 -08:00
parent f4fd679928
commit 0e1af81d42
2 changed files with 11 additions and 3 deletions

View File

@ -36,10 +36,14 @@ $a->config['register_policy'] = REGISTER_OPEN;
$a->config['register_text'] = ''; $a->config['register_text'] = '';
$a->config['admin_email'] = ''; $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; $a->config['max_import_size'] = 10000;
// maximum size of uploaded photos
$a->config['system']['maximagesize'] = 800000;
// Location of PHP command line processor // Location of PHP command line processor
$a->config['php_path'] = 'php'; $a->config['php_path'] = 'php';

View File

@ -35,9 +35,13 @@ $a->config['register_policy'] = REGISTER_OPEN;
$a->config['register_text'] = ''; $a->config['register_text'] = '';
$a->config['admin_email'] = ''; $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 // Location of PHP command line processor