]> source.dussan.org Git - nextcloud-server.git/commitdiff
SetupController should use \OC::$configDir too 660/head
authorDamjan Georgievski <gdamjan@gmail.com>
Tue, 2 Aug 2016 13:28:19 +0000 (15:28 +0200)
committerDamjan Georgievski <gdamjan@gmail.com>
Tue, 2 Aug 2016 13:28:19 +0000 (15:28 +0200)
core/Controller/SetupController.php

index fc1efe4c11b5b752f0a56de4b6d55d8aae5a7051..bb7c8c4969d821b91086e4dbdd5c37694ea5ac4f 100644 (file)
@@ -40,7 +40,7 @@ class SetupController {
         * @param Setup $setupHelper
         */
        function __construct(Setup $setupHelper) {
-               $this->autoConfigFile = \OC::$SERVERROOT.'/config/autoconfig.php';
+               $this->autoConfigFile = \OC::$configDir.'autoconfig.php';
                $this->setupHelper = $setupHelper;
        }