Browse Source

Revert "Remove secrets, require `instance-config.secret.php`"

This reverts commit 46d987efdc.
pull/40/head
Dedushka 3 years ago
parent
commit
eacc5dd3c3
No known key found for this signature in database GPG Key ID: DC969A6BA7657A70
  1. 3
      .gitignore
  2. 17
      inc/instance-config.php

3
.gitignore

@ -74,6 +74,3 @@ stylesheets/fonts
#Images from twemoji
js/twemoji/16x16/
#Secrets
*.secret.php

17
inc/instance-config.php

@ -8,10 +8,6 @@
* You can copy values from config.php (defaults) and paste them here.
*/
if (file_exists("instance-config.secret.php")) {
require_once "instance-config.secret.php";
}
/*
* Front page configurations.
*/
@ -71,7 +67,19 @@ $config['custom_categories'] = array(
),
);
/*
* Database and site wide configurations
*/
$config['db']['server'] = 'localhost';
$config['db']['database'] = 'lainchan';
$config['db']['prefix'] = '';
$config['db']['user'] = 'lainchan';
$config['db']['password'] = '';
$config['cookies']['mod'] = 'mod';
$config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj';
$config['flood_time'] = 0;
$config['flood_time_ip'] = 0;
@ -88,6 +96,7 @@ $config['threads_per_page'] = 10;
$config['max_pages'] = 36;
$config['threads_preview'] = 5;
$config['root'] = '/';
$config['secure_trip_salt'] = 'ODQ2NDM0ODlmMmRhNzk2M2EyNjJlOW';
//Banners
$config['url_banner'] = '/banners.php';

Loading…
Cancel
Save