From 796a5445601c187bb7fa867d9c5b152ac8fd9797 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 18 Dec 2010 02:24:27 +1100 Subject: Added DB_DSN --- inc/config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index 2e605b0b..60c8d5c2 100644 --- a/inc/config.php +++ b/inc/config.php @@ -11,7 +11,8 @@ // Database stuff - // "mysql", "pgsql", etc + // SQL driver ("mysql", "pgsql", "sqlite", "dblib", etc) + // http://www.php.net/manual/en/pdo.drivers.php define('DB_TYPE', 'mysql', true); // Hostname or IP address define('DB_SERVER', 'localhost', true); @@ -20,6 +21,8 @@ define('DB_PASSWORD', '', true); // TinyBoard database define('DB_DATABASE', '', true); + // Anything more to add to the DSN string (eg. port=xxx;foo=bar) + define('DB_DSN', '', true); // The name of the session cookie (PHP's $_SESSION) define('SESS_COOKIE', 'imgboard', true); -- cgit v1.3