aboutsummaryrefslogtreecommitdiffstats
path: root/apps/media/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/remote.php')
-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