factory()
authorJan Schneider <jan@horde.org>
Wed, 26 May 2010 09:41:43 +0000 (11:41 +0200)
committerJan Schneider <jan@horde.org>
Wed, 26 May 2010 09:41:43 +0000 (11:41 +0200)
horde/admin/setup/index.php

index 3cb88da..627f6ac 100644 (file)
@@ -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;