From e1bc4f1da94695c48f0bb04d8506367539405832 Mon Sep 17 00:00:00 2001 From: Horija Date: Mon, 24 Apr 2017 11:41:49 +0200 Subject: [PATCH] Update config.php --- inc/captcha/config.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/captcha/config.php b/inc/captcha/config.php index 1410f615..568c06c5 100644 --- a/inc/captcha/config.php +++ b/inc/captcha/config.php @@ -1,16 +1,16 @@ 'SET NAMES utf8')); -$pdo = new PDO("mysql:dbname=hokachan;host=localhost", "root", "", array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')); + +$pdo = new PDO("mysql:dbname=database_name;host=localhost", "database_user", "database_password", array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')); + // Captcha expiration: -$expires_in = 300; // 120 seconds +$expires_in = 120; // 120 seconds // Captcha dimensions: $width = 250; $height = 80; // Captcha length: -$length = 5; +$length = 6;