Browse Source

Sets the correct default path in the config.php, and removes the re-write in instance-config. The path set in config was incorrect, so there is no benefit in keeping it incorrect and overwriting in instance config. And now that it's correct, it's no benefit to have a duplicate setting.

pull/40/head
nonmakina 3 years ago
parent
commit
0611bb6ad1
  1. 4
      inc/config.php
  2. 2
      inc/instance-config.php

4
inc/config.php

@ -794,9 +794,9 @@
// Location of above images.
$config['file_thumb'] = 'static/%s';
// Location of thumbnail to use for spoiler images.
$config['spoiler_image'] = '/static/spoiler.png';
$config['spoiler_image'] = 'static/spoiler.png';
// Location of thumbnail to use for deleted images.
$config['image_deleted'] = '/static/deleted.png';
$config['image_deleted'] = 'static/deleted.png';
// When a thumbnailed image is going to be the same (in dimension), just copy the entire file and use
// that as a thumbnail instead of resizing/redrawing.

2
inc/instance-config.php

@ -265,8 +265,6 @@ $config['stylesheets']['Dark'] = 'dark.css';
$config['stylesheets']['Dark Red'] = 'dark_red.css';
$config['always_noko'] = true;
$config['spoiler_images'] = true;
$config['spoiler_image'] = 'static/spoiler.png';
$config['image_deleted'] = 'static/deleted.png';
//more themes (issue#26)
$config['stylesheets']['Burichan'] = 'burichan.css';

Loading…
Cancel
Save