Skip to content

Instantly share code, notes, and snippets.

@mjrider
Created February 5, 2015 12:53
Show Gist options
  • Save mjrider/ae76bfe1651554e174ce to your computer and use it in GitHub Desktop.
Save mjrider/ae76bfe1651554e174ce to your computer and use it in GitHub Desktop.
gen persistent connecties
diff --git a/lib/stores/mysqlstore.phtml b/lib/stores/mysqlstore.phtml
index c5380bc..a224808 100644
--- a/lib/stores/mysqlstore.phtml
+++ b/lib/stores/mysqlstore.phtml
@@ -80,7 +80,7 @@ class mysqlstore extends store{
**********************************************************************************/
$this->error="";
- $this->dbh = $this->getConnection('p:'.$config['host'], $config["user"], $config["password"], $config["database"]);
+ $this->dbh = $this->getConnection($config['host'], $config["user"], $config["password"], $config["database"]);
$this->root=$path;
$this->code=$config["code"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment