From 051fdee9b9935cc0b802fa48dc98303714f1c920 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 4 Mar 2023 14:16:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20MeekroDB=EC=97=90=EC=84=9C=20=EB=B0=94?= =?UTF-8?q?=EB=80=90=20=EC=84=A4=EC=A0=95=20=EB=B0=98=EC=98=81=20-=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=ED=95=98=EB=8A=94=20=EC=98=B5=EC=85=98?= =?UTF-8?q?=EC=9D=B4=20=EA=B8=B0=EB=B3=B8=EA=B0=92=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f_install/templates/RootDB.orig.php | 5 ----- hwe/d_setting/DB.orig.php | 9 ++------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/f_install/templates/RootDB.orig.php b/f_install/templates/RootDB.orig.php index 8c4890e7..166bb531 100644 --- a/f_install/templates/RootDB.orig.php +++ b/f_install/templates/RootDB.orig.php @@ -61,11 +61,6 @@ class RootDB if (self::$uDB === null) { self::$uDB = new \MeekroDB(self::$host, self::$user, self::$password, self::$dbName, self::$port, self::$encoding); self::$uDB->connect_options[MYSQLI_OPT_INT_AND_FLOAT_NATIVE] = true; - - self::$uDB->error_handler = function () { - }; - self::$uDB->throw_exception_on_error = true; - self::$uDB->throw_exception_on_nonsql_error = true; } return self::$uDB; } diff --git a/hwe/d_setting/DB.orig.php b/hwe/d_setting/DB.orig.php index 3448ff7e..ffacb6a5 100644 --- a/hwe/d_setting/DB.orig.php +++ b/hwe/d_setting/DB.orig.php @@ -52,8 +52,8 @@ class DB /** * DB 객체 생성 - * - * @return \MeekroDB + * + * @return \MeekroDB * @suppress PhanTypeMismatchProperty */ public static function db() @@ -61,11 +61,6 @@ class DB if (self::$uDB === null) { self::$uDB = new \MeekroDB(self::$host, self::$user, self::$password, self::$dbName, self::$port, self::$encoding); self::$uDB->connect_options[MYSQLI_OPT_INT_AND_FLOAT_NATIVE] = true; - - self::$uDB->error_handler = function () { - }; - self::$uDB->throw_exception_on_error = true; - self::$uDB->throw_exception_on_nonsql_error = true; } return self::$uDB; }