Make dnsbls.php optional, secrets.php mandatory

This commit is contained in:
riking 2014-10-04 13:33:48 -07:00
parent 8c70404036
commit 5d89342b4f

View File

@ -46,7 +46,8 @@
$config['spam']['hidden_inputs_max_pass'] = 128;
$config['ayah_enabled'] = true;
include "secrets.php";
// Load database credentials
require "secrets.php";
// Image shit
$config['thumb_method'] = 'gm+gifsicle';
@ -393,4 +394,7 @@ EOT;
$config['gzip_static'] = false;
// DNSBL is optional
if (file_exists(stream_resolve_include_path("dnsbls.php"))) {
require_once "dnsbls.php";
}