Visman 3 년 전
부모
커밋
2b546af3b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Core/DB.php

+ 1 - 1
app/Core/DB.php

@@ -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;