镜像来自
https://github.com/nextcloud/server.git
synced 2024-08-21 05:55:12 +02:00
28 line
601 B
PHP
28 line
601 B
PHP
<?php
|
|
/**
|
|
* Copyright (c) 2012 Thomas Müller <thomas.mueller@tmit.eu>
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later.
|
|
* See the COPYING-README file.
|
|
*/
|
|
|
|
require_once __DIR__.'/../lib/base.php';
|
|
|
|
function enableApp($app) {
|
|
try {
|
|
(new \OC_App())->enable($app);
|
|
} catch (Exception $e) {
|
|
echo $e;
|
|
}
|
|
}
|
|
|
|
enableApp('files_sharing');
|
|
enableApp('files_trashbin');
|
|
enableApp('encryption');
|
|
enableApp('user_ldap');
|
|
enableApp('files_versions');
|
|
enableApp('provisioning_api');
|
|
enableApp('federation');
|
|
enableApp('federatedfilesharing');
|
|
enableApp('admin_audit');
|