summaryrefslogtreecommitdiffstats
path: root/apps/media
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/media
parent0fb90fa87568fc12e1f05d45c53ef9cf88991ba6 (diff)
downloadnextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.tar.gz
nextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.zip
selective app loading for remote/public
Diffstat (limited to 'apps/media')
-rw-r--r--apps/media/remote.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/media/remote.php b/apps/media/remote.php
index 8a88c2b51ae..01add42b315 100644
--- a/apps/media/remote.php
+++ b/apps/media/remote.php
@@ -1,7 +1,11 @@
<?php
+
+// only need filesystem apps
+$RUNTIME_APPTYPES=array('filesystem','authentication');
+OC_App::loadApps($RUNTIME_APPTYPES);
+
if($path_info == '/ampache' || $path_info == '/ampache/'){
require_once(OC::$APPSROOT . '/apps/media/index.php');
}else{
require_once(OC::$APPSROOT . '/apps/media/server/xml.server.php');
}
-?> \ No newline at end of file