Fix DB
This commit is contained in:
parent
975ab6190f
commit
2b546af3b9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class DB extends PDO
|
|||
|
||||
$statement = $typeU . 'Statement' . (\PHP_MAJOR_VERSION < 8 ? '7' : '');
|
||||
|
||||
if (\is_file(__DIR__ . "/DB/{$typeU}.php")) {
|
||||
if (\is_file(__DIR__ . "/DB/{$statement}.php")) {
|
||||
$statement = 'ForkBB\\Core\\DB\\' . $statement;
|
||||
} else {
|
||||
$statement = DBStatement::class;
|
||||
|
|
Loading…
Add table
Reference in a new issue