aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-30 14:39:07 +0200
committerRobin Appelman <icewind@owncloud.com>2012-03-30 14:39:07 +0200
commit523fdda39915dd49190727ac74458a28f2d00f10 (patch)
treebbf71b0c460074042159b94f9b4771dfd65e8bbe /files
parenta07c6b1a2ea66f00b3e85d480703ca06a4b241be (diff)
downloadnextcloud-server-523fdda39915dd49190727ac74458a28f2d00f10.tar.gz
nextcloud-server-523fdda39915dd49190727ac74458a28f2d00f10.zip
add the option to only load apps of a specific type
Diffstat (limited to 'files')
-rw-r--r--files/ajax/download.php3
-rw-r--r--files/ajax/list.php3
-rw-r--r--files/ajax/mimeicon.php3
-rw-r--r--files/webdav.php3
4 files changed, 12 insertions, 0 deletions
diff --git a/files/ajax/download.php b/files/ajax/download.php
index 198069f3fa1..39852613ab9 100644
--- a/files/ajax/download.php
+++ b/files/ajax/download.php
@@ -21,6 +21,9 @@
*
*/
+// only need filesystem apps
+$RUNTIME_APPTYPES=array('filesystem');
+
// Init owncloud
require_once('../../lib/base.php');
diff --git a/files/ajax/list.php b/files/ajax/list.php
index 8a414827e1c..ec9ab7342dd 100644
--- a/files/ajax/list.php
+++ b/files/ajax/list.php
@@ -1,5 +1,8 @@
<?php
+// only need filesystem apps
+$RUNTIME_APPTYPES=array('filesystem');
+
// Init owncloud
require_once('../../lib/base.php');
diff --git a/files/ajax/mimeicon.php b/files/ajax/mimeicon.php
index 8724016b3a1..ff72ba0f5b7 100644
--- a/files/ajax/mimeicon.php
+++ b/files/ajax/mimeicon.php
@@ -1,5 +1,8 @@
<?php
+// no need for apps
+$RUNTIME_NOAPPS=false;
+
// Init owncloud
require_once('../../lib/base.php');
diff --git a/files/webdav.php b/files/webdav.php
index 6fae33a8f71..1120973787c 100644
--- a/files/webdav.php
+++ b/files/webdav.php
@@ -26,6 +26,9 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
+// only need filesystem apps
+$RUNTIME_APPTYPES=array('filesystem');
+
require_once('../lib/base.php');
// Backends