summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/get.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-14 00:28:22 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-14 00:28:28 +0200
commite7c106d91e9970b95061eaa2812a0d0c5be72526 (patch)
tree174f7c63e504da6a5364bdad03514f8ce3e76972 /apps/files_sharing/get.php
parent0fb90fa87568fc12e1f05d45c53ef9cf88991ba6 (diff)
downloadnextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.tar.gz
nextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.zip
selective app loading for remote/public
Diffstat (limited to 'apps/files_sharing/get.php')
-rwxr-xr-xapps/files_sharing/get.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index caf25d00cfd..e326a170075 100755
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -1,6 +1,10 @@
<?php
$RUNTIME_NOSETUPFS=true; //don't setup the fs yet
+// only need authentication apps
+$RUNTIME_APPTYPES=array('authentication');
+OC_App::loadApps($RUNTIME_APPTYPES);
+
OCP\JSON::checkAppEnabled('files_sharing');
require_once 'lib_share.php';