Only use PostgreSQL queries when using PDO

This commit is contained in:
Trevor Slocum 2018-07-20 16:05:18 -07:00
parent 629c4a3417
commit e15cbedc8e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ if (!defined('TINYIB_BOARD')) {
die('');
}
if (TINYIB_DBDRIVER === 'pgsql') {
if (TINYIB_DBMODE == 'pdo' && TINYIB_DBDRIVER == 'pgsql') {
$posts_sql = 'CREATE TABLE "' . TINYIB_DBPOSTS . '" (
"id" bigserial NOT NULL,
"parent" integer NOT NULL,