SetupController should use \OC::$configDir too

This commit is contained in:
Damjan Georgievski 2016-08-02 15:28:19 +02:00
parent 982bdb1823
commit 4d559267bd
1 changed files with 1 additions and 1 deletions

View 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;
}