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 +++++++++++++++++++++++++++++++++++++ h-source/Library/Factory/index.html | 1 + 2 files changed, 53 insertions(+) create mode 100755 h-source/Library/Factory/Db.php create mode 100644 h-source/Library/Factory/index.html (limited to 'h-source/Library/Factory') 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; + } + } + +} diff --git a/h-source/Library/Factory/index.html b/h-source/Library/Factory/index.html new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/h-source/Library/Factory/index.html @@ -0,0 +1 @@ + -- cgit v1.2.3