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