enable_all.php 575 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. (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');