SetupController should use \OC::$configDir too

This commit is contained in:
Damjan Georgievski 2016-08-02 15:28:19 +02:00 committed by Joas Schilling
parent cc8b508987
commit a076a0d17a
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

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