aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-05 19:57:06 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-11 00:09:55 +0100
commit9ea205dc3dd27f6e2506a4867e29b12180251620 (patch)
treee063d01f8b4be75e3bf823928dbd53d06b51f2f9 /lib/base.php
parentd84a1f6f3ae380d42dbd2970d6b3bfedd5e01200 (diff)
downloadnextcloud-server-9ea205dc3dd27f6e2506a4867e29b12180251620.tar.gz
nextcloud-server-9ea205dc3dd27f6e2506a4867e29b12180251620.zip
Check if open_basedir is set
The file:// protocol does not work with curl when an open_basedir is set. This fixes https://github.com/owncloud/core/issues/12016
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index af2474c7d76..f2ff3bb4849 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -717,7 +717,7 @@ class OC {
// Check if ownCloud is installed or in maintenance (update) mode
if (!$systemConfig->getValue('installed', false)) {
\OC::$server->getSession()->clear();
- $controller = new OC\Core\Setup\Controller(\OC::$server->getConfig());
+ $controller = new OC\Core\Setup\Controller(\OC::$server->getConfig(), \OC::$server->getIniWrapper(), \OC::$server->getL10N('core'), new \OC_Defaults());
$controller->run($_POST);
exit();
}