diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-09-08 12:17:57 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-09-22 16:43:28 +0200 |
commit | 63b2bc136aa9b101b424cab89f31c772a9a4baea (patch) | |
tree | b74e301f8ef826377c7eaa05ad17101f837eedd6 /lib/private/server.php | |
parent | a8e8a9dfb968d7e93b01404b9a12c1e48d8431a4 (diff) | |
download | nextcloud-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.php | 4 |
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( |