Browse Source

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

pull/1/head
Friendika 11 years ago
parent
commit
0e1af81d42
  1. 6
      htconfig.php
  2. 8
      view/htconfig.tpl

6
htconfig.php

@ -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';

8
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

Loading…
Cancel
Save