diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-18 01:18:03 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-18 01:18:03 +1100 |
| commit | 574256a01a3250d3fef4bb1f4c41b7da8c7bf9f9 (patch) | |
| tree | e28f61d1cbd177496dc4b43972606d85cc7b3ec7 /inc/config.php | |
| parent | 139514402da1c12f877548087a67ab0bac2458b5 (diff) | |
Use PDO for databases
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php index b936da29..4d1b6d78 100644 --- a/inc/config.php +++ b/inc/config.php @@ -10,10 +10,16 @@ */ // Database stuff - define('MY_SERVER', 'localhost', true); - define('MY_USER', '', true); - define('MY_PASSWORD', '', true); - define('MY_DATABASE', '', true); + + // "mysql", "mysqli", "pgsql", "mssql" + define('DB_TYPE', 'mysql', true); + // Hostname or IP address + define('DB_SERVER', 'localhost', true); + // Login + define('DB_USER', '', true); + define('DB_PASSWORD', '', true); + // TinyBoard database + define('DB_DATABASE', '', true); // The name of the session cookie (PHP's $_SESSION) define('SESS_COOKIE', 'imgboard', true); |
