enable_all.php 601 B

123456789101112131415161718192021222324252627
  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. (new \OC_App())->enable($app);
  12. } catch (Exception $e) {
  13. echo $e;
  14. }
  15. }
  16. enableApp('files_sharing');
  17. enableApp('files_trashbin');
  18. enableApp('encryption');
  19. enableApp('user_ldap');
  20. enableApp('files_versions');
  21. enableApp('provisioning_api');
  22. enableApp('federation');
  23. enableApp('federatedfilesharing');
  24. enableApp('admin_audit');