From 4c49a09047607536773ef36511cf60432699df83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 16 Aug 2023 14:39:46 +0800 Subject: [PATCH] qqq --- Connection.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Connection.php b/Connection.php index 245bc09..0b1d6ad 100644 --- a/Connection.php +++ b/Connection.php @@ -348,8 +348,7 @@ class Connection extends Component } else { $options[PDO::ATTR_PERSISTENT] = false; } - $link = new PDO('mysql:dbname=' . $this->database . ';host=' . $this->cds, - $this->username, $this->password, $options); + $link = new PDO('mysql:dbname=' . $this->database . ';host=' . $this->cds, $this->username, $this->password, $options); foreach ($this->attributes as $key => $attribute) { $link->setAttribute($key, $attribute); }