From 995f79efe000f33c0b68efc6c73ff66b6962ce92 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 14 May 2009 16:44:36 +0000 Subject: [PATCH] Mise en commentaire fermeture de connection bdd --- includes/dbbootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }