Remove secrets, require `instance-config.secret.php`
This commit is contained in:
parent
47afc2ad8c
commit
46d987efdc
|
@ -74,3 +74,6 @@ stylesheets/fonts
|
|||
|
||||
#Images from twemoji
|
||||
js/twemoji/16x16/
|
||||
|
||||
#Secrets
|
||||
*.secret.php
|
|
@ -8,6 +8,10 @@
|
|||
* 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.
|
||||
*/
|
||||
|
@ -67,19 +71,7 @@ $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;
|
||||
|
@ -96,7 +88,6 @@ $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…
Reference in New Issue