From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/servicefactory.php | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 services/servicefactory.php (limited to 'services/servicefactory.php') diff --git a/services/servicefactory.php b/services/servicefactory.php deleted file mode 100644 index b5215e3..0000000 --- a/services/servicefactory.php +++ /dev/null @@ -1,38 +0,0 @@ -sql_connect($dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbpersist); - if(!$db->db_connect_id) { - message_die(CRITICAL_ERROR, "Could not connect to the database", $db); - } - $db->sql_query("SET NAMES UTF8"); - } - - if (!isset($instances[$name])) { - if (isset($serviceoverrules[$name])) { - $name = $serviceoverrules[$name]; - } - if (!class_exists($name)) { - if (!isset($servicedir)) { - $servicedir = dirname(__FILE__) .'/'; - } - - require_once($servicedir . strtolower($name) . '.php'); - } - $instances[$name] = call_user_func(array($name, 'getInstance'), $db); - } - return $instances[$name]; - } -} -?> -- cgit v1.2.3