mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
Update config.php
This commit is contained in:
parent
3438718667
commit
e1bc4f1da9
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
// We are using a custom path here to connect to the database.
|
||||
// Why? Performance reasons.
|
||||
// change $pdo database_name, database_user, database_password to your own settings if not using xampp or default xampp settings:
|
||||
// example $pdo = new PDO("mysql:dbname=database_name;host=localhost", "database_user", "database_password", array(PDO::MYSQL_ATTR_INIT_COMMAND => '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;
|
||||
|
Loading…
Reference in New Issue
Block a user