server/tests/enable_all.php
2014-01-17 12:07:27 +01:00

23 lines
455 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 {
OC_App::enable($app);
} catch (Exception $e) {
echo $e;
}
}
enableApp('files_sharing');
enableApp('files_encryption');
//enableApp('files_external');
enableApp('user_ldap');