provide default photo and text limits (which can be over-ridden)
This commit is contained in:
parent
f4fd679928
commit
0e1af81d42
|
@ -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';
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue