mirror of
https://code.rocketnine.space/tslocum/tinyib.git
synced 2025-01-18 03:38:19 +01:00
Only use PostgreSQL queries when using PDO
This commit is contained in:
parent
629c4a3417
commit
e15cbedc8e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user