We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5ba18 commit 6d4a6e6Copy full SHA for 6d4a6e6
class.PDO.php
@@ -24,7 +24,7 @@ function connect(){
24
$password = DATABASE_PASS;
25
26
try {
27
- $this->pdo = new PDO($dsn, $user, $password);
+ $this->pdo = new PDO($dsn, $user, $password, array(PDO::ATTR_PERSISTENT => true));
28
return true;
29
} catch (PDOException $e) {
30
$this->error = $e->getMessage();
0 commit comments