Browse Source

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

pull/1/head
Friendika 11 years ago
parent
commit
0e1af81d42
2 changed files with 11 additions and 3 deletions
  1. +5
    -1
      htconfig.php
  2. +6
    -2
      view/htconfig.tpl

+ 5
- 1
htconfig.php View 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';


+ 6
- 2
view/htconfig.tpl View 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


Loading…
Cancel
Save