From 6491a995906541b80f9c34442aa89590b08d2427 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 26 May 2010 11:41:43 +0200 Subject: [PATCH] factory() --- horde/admin/setup/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/admin/setup/index.php b/horde/admin/setup/index.php index 3cb88da68..627f6ac10 100644 --- a/horde/admin/setup/index.php +++ b/horde/admin/setup/index.php @@ -22,7 +22,7 @@ function _uploadFTP($params) $params['hostspec'] = 'localhost'; try { - $vfs = VFS::singleton('ftp', $params); + $vfs = VFS::factory('ftp', $params); } catch (VFS_Exception $e) { $notification->push(sprintf(_("Could not connect to server \"%s\" using FTP: %s"), $params['hostspec'], $e->getMessage()), 'horde.error'); return false; -- 2.11.0