diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-11-01 16:58:06 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-11-01 16:58:06 +0100 |
commit | 01bd0efc36d2557196444a382ae701b4da8c4dd9 (patch) | |
tree | 92eed6f8d980790fb64057372bc33933136d945b /apps/files/appinfo | |
parent | f50c043cfbd149beadc5b14c79b42baead9713ca (diff) | |
parent | 553b1072b66034c7bc97e44af5701c418ca2999f (diff) | |
download | nextcloud-server-01bd0efc36d2557196444a382ae701b4da8c4dd9.tar.gz nextcloud-server-01bd0efc36d2557196444a382ae701b4da8c4dd9.zip |
Merge branch 'master' into navigation
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/filesync.php | 4 | ||||
-rw-r--r-- | apps/files/appinfo/remote.php | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/files/appinfo/filesync.php b/apps/files/appinfo/filesync.php index c1fe444cec7..47fc6fb4de6 100644 --- a/apps/files/appinfo/filesync.php +++ b/apps/files/appinfo/filesync.php @@ -20,8 +20,8 @@ * The final URL will look like http://.../remote.php/filesync/oc_chunked/path/to/file */ -// only need filesystem apps -$RUNTIME_APPTYPES=array('filesystem','authentication'); +// load needed apps +$RUNTIME_APPTYPES=array('filesystem','authentication','logging'); OC_App::loadApps($RUNTIME_APPTYPES); if(!OC_User::isLoggedIn()) { if(!isset($_SERVER['PHP_AUTH_USER'])) { diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 9c7b9ab6d5b..f12430f24dd 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -22,8 +22,9 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -// only need filesystem apps -$RUNTIME_APPTYPES=array('filesystem', 'authentication'); +// load needed apps +$RUNTIME_APPTYPES=array('filesystem','authentication','logging'); + OC_App::loadApps($RUNTIME_APPTYPES); // Backends @@ -41,6 +42,7 @@ $server->setBaseUri($baseuri); $server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, 'ownCloud')); $server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend)); $server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload +$server->addPlugin(new OC_Connector_Sabre_QuotaPlugin()); // And off we go! $server->exec(); |