Require secrets.php

This commit is contained in:
8chan 2014-09-24 20:19:58 +00:00
parent e94ae94f6c
commit 2afb2b4e7b

View File

@ -7,9 +7,8 @@
* *
* You can copy values from config.php (defaults) and paste them here. * You can copy values from config.php (defaults) and paste them here.
*/ */
require_once "lib/htmlpurifier-4.5.0/library/HTMLPurifier.auto.php"; require_once "lib/htmlpurifier-4.5.0/library/HTMLPurifier.auto.php";
require_once "8chan-functions.php"; require_once "8chan-functions.php";
$config['db']['server'] = 'localhost'; $config['db']['server'] = 'localhost';
$config['db']['database'] = '8chan'; $config['db']['database'] = '8chan';
@ -43,6 +42,8 @@ require_once "8chan-functions.php";
$config['thread_subject_in_title'] = true; $config['thread_subject_in_title'] = true;
$config['spam']['hidden_inputs_max_pass'] = 128; $config['spam']['hidden_inputs_max_pass'] = 128;
require_once "secrets.php";
// Image shit // Image shit
$config['thumb_method'] = 'gm+gifsicle'; $config['thumb_method'] = 'gm+gifsicle';
$config['thumb_ext'] = ''; $config['thumb_ext'] = '';