From 4d559267bd19d67a1d0661f8a1658268652dea92 Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Tue, 2 Aug 2016 15:28:19 +0200 Subject: [PATCH] SetupController should use \OC::$configDir too --- core/Controller/SetupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5