enable_all.php 511 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright (c) 2012 Thomas Müller <thomas.mueller@tmit.eu>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. require_once __DIR__.'/../lib/base.php';
  9. function enableApp($app) {
  10. try {
  11. OC_App::enable($app);
  12. } catch (Exception $e) {
  13. echo $e;
  14. }
  15. }
  16. enableApp('files_sharing');
  17. enableApp('files_trashbin');
  18. enableApp('files_encryption');
  19. enableApp('files_external');
  20. enableApp('user_ldap');
  21. enableApp('files_versions');