2012-03-30 20:10:16 +04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
2013-03-02 15:12:33 +04:00
|
|
|
OC::$CLASSPATH['OC\Files\Storage\StreamWrapper'] = 'files_external/lib/streamwrapper.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\FTP'] = 'files_external/lib/ftp.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\DAV'] = 'files_external/lib/webdav.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\Google'] = 'files_external/lib/google.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\SWIFT'] = 'files_external/lib/swift.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\SMB'] = 'files_external/lib/smb.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\AmazonS3'] = 'files_external/lib/amazons3.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\Dropbox'] = 'files_external/lib/dropbox.php';
|
|
|
|
OC::$CLASSPATH['OC\Files\Storage\SFTP'] = 'files_external/lib/sftp.php';
|
|
|
|
OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
|
2012-05-24 20:22:33 +04:00
|
|
|
|
2012-05-24 19:06:03 +04:00
|
|
|
OCP\App::registerAdmin('files_external', 'settings');
|
2012-06-08 19:42:00 +04:00
|
|
|
if (OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes') == 'yes') {
|
|
|
|
OCP\App::registerPersonal('files_external', 'personal');
|
|
|
|
}
|