From 232aa1924c8c0f10d87b210b46c9f061af5c844c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 17 Oct 2010 13:29:57 +0000 Subject: added files --- h-source/Library/Factory/Db.php | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 h-source/Library/Factory/Db.php (limited to 'h-source/Library/Factory/Db.php') diff --git a/h-source/Library/Factory/Db.php b/h-source/Library/Factory/Db.php new file mode 100755 index 0000000..3a988dd --- /dev/null +++ b/h-source/Library/Factory/Db.php @@ -0,0 +1,52 @@ +disconnect(); + break; + case 'Mysqli': + $mysqli = Db_Mysqli::getInstance(); + $mysqli->disconnect(); + break; + case 'None': + return null; + break; + } + } + +} -- cgit v1.2.3