summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorDamjan Georgievski <gdamjan@gmail.com>2016-08-02 15:28:19 +0200
committerDamjan Georgievski <gdamjan@gmail.com>2016-08-02 15:28:19 +0200
commit4d559267bd19d67a1d0661f8a1658268652dea92 (patch)
tree25da9c2f9ba80abc48f02f774582d5f5de045958 /core/Controller
parent982bdb182329602e1776d704a2662bd2ab09bf98 (diff)
downloadnextcloud-server-4d559267bd19d67a1d0661f8a1658268652dea92.tar.gz
nextcloud-server-4d559267bd19d67a1d0661f8a1658268652dea92.zip
SetupController should use \OC::$configDir too
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SetupController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index fc1efe4c11b..bb7c8c4969d 100644
--- a/core/Controller/SetupController.php
+++ b/core/Controller/SetupController.php
@@ -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;
}