diff --git a/includes/dbbootstrap.php b/includes/dbbootstrap.php index 72d061db9..0fe7cefd5 100644 --- a/includes/dbbootstrap.php +++ b/includes/dbbootstrap.php @@ -28,7 +28,7 @@ function setDbConn($name){ $currentName = $manager->getCurrentConnection()->getName(); $currentConn = $manager->getCurrentConnection(); if($currentName != $name){ - $manager->closeConnection($currentConn); + //$manager->closeConnection($currentConn); $manager->setCurrentConnection($name); Doctrine::loadModels(realpath(dirname(__FILE__)).'/models/'.$name); }