summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-08 12:17:57 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-22 16:43:28 +0200
commit63b2bc136aa9b101b424cab89f31c772a9a4baea (patch)
treeb74e301f8ef826377c7eaa05ad17101f837eedd6 /lib/private/server.php
parenta8e8a9dfb968d7e93b01404b9a12c1e48d8431a4 (diff)
downloadnextcloud-server-63b2bc136aa9b101b424cab89f31c772a9a4baea.tar.gz
nextcloud-server-63b2bc136aa9b101b424cab89f31c772a9a4baea.zip
Move mimetype files into /resources/config/
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index d5f4f532c1c..9f99ead849b 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -470,7 +470,9 @@ class Server extends SimpleContainer implements IServerContainer {
$this->registerService('MimeTypeDetector', function(Server $c) {
return new \OC\Files\Type\Detection(
$c->getURLGenerator(),
- \OC::$configDir);
+ \OC::$SERVERROOT . '/config/',
+ \OC::$SERVERROOT . '/resources/config/'
+ );
});
$this->registerService('MimeTypeLoader', function(Server $c) {
return new \OC\Files\Type\Loader(