diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-18 02:24:27 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-18 02:24:27 +1100 |
| commit | 796a5445601c187bb7fa867d9c5b152ac8fd9797 (patch) | |
| tree | 968fdbe4572a16452529a1ca6c8920e58b9d2da0 /inc/config.php | |
| parent | ebed5b55dbc29d90b071373aae9c73fa929d0cac (diff) | |
Added DB_DSN
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
