Browse Source

Merge pull request #332 from discomrade/vichan-0d7ee48

Update config.php image documentation, move bad defaults to instance-config.php
pull/40/head
nonmakina 3 years ago
committed by GitHub
parent
commit
9a46b8f9b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      inc/config.php
  2. 3
      inc/instance-config.php

9
inc/config.php

@ -700,8 +700,11 @@
* ====================
*/
// Maximum number of images allowed. Increasing this number enabled multi image.
// If you make it more than 1, make sure to enable the below script for the post form to change.
$config['max_images'] = 4;
// If you make it more than 1, make sure to enable one of the below scripts for the post form to change.
// $config['additional_javascript'][] = 'js/multi-image.js';
// or
// $config['additional_javascript'][] = 'js/file-selector.js';
$config['max_images'] = 1;
// Method to use for determing the max filesize.
// "split" means that your max filesize is split between the images. For example, if your max filesize
@ -1715,7 +1718,7 @@
//$config['search']['boards'] = array('a', 'b', 'c', 'd', 'e');
// Enable public logs? 0: NO, 1: YES, 2: YES, but drop names
$config['public_logs'] = 1;
$config['public_logs'] = 0;
/*
* ====================

3
inc/instance-config.php

@ -161,6 +161,9 @@ $config['mod']['news_page'] = 5;
// Allow everyone to see bumplocks
$config['mod']['view_bumplock'] = -1;
// Include public logs with names
$config['public_logs'] = 1;
$config['allow_thread_deletion'] = false;
// Max attachments per post

Loading…
Cancel
Save