app.php 1.1 KB

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. OC::$CLASSPATH['OC\Files\Storage\StreamWrapper'] = 'files_external/lib/streamwrapper.php';
  9. OC::$CLASSPATH['OC\Files\Storage\FTP'] = 'files_external/lib/ftp.php';
  10. OC::$CLASSPATH['OC\Files\Storage\DAV'] = 'files_external/lib/webdav.php';
  11. OC::$CLASSPATH['OC\Files\Storage\Google'] = 'files_external/lib/google.php';
  12. OC::$CLASSPATH['OC\Files\Storage\SWIFT'] = 'files_external/lib/swift.php';
  13. OC::$CLASSPATH['OC\Files\Storage\SMB'] = 'files_external/lib/smb.php';
  14. OC::$CLASSPATH['OC\Files\Storage\AmazonS3'] = 'files_external/lib/amazons3.php';
  15. OC::$CLASSPATH['OC\Files\Storage\Dropbox'] = 'files_external/lib/dropbox.php';
  16. OC::$CLASSPATH['OC\Files\Storage\SFTP'] = 'files_external/lib/sftp.php';
  17. OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
  18. OCP\App::registerAdmin('files_external', 'settings');
  19. if (OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes') == 'yes') {
  20. OCP\App::registerPersonal('files_external', 'personal');
  21. }