aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAloisio Almeida Jr <aloisio.almeida@openbossa.org>2011-09-03 21:12:05 -0300
committerAloisio Almeida Jr <aloisio.almeida@openbossa.org>2011-09-03 21:22:09 -0300
commitec87e2eac4b4f7e96d6e94e34e1a8f61a78aa0e9 (patch)
treed958c7a2975d16b866e90d6e4229008ed6b56703
parentcfb932b073c5ca28cc85c6cae92fdcaf4f68dcc5 (diff)
downloadnextcloud-server-ec87e2eac4b4f7e96d6e94e34e1a8f61a78aa0e9.tar.gz
nextcloud-server-ec87e2eac4b4f7e96d6e94e34e1a8f61a78aa0e9.zip
setup.php: Get 'datadirectory' from config file instead of 'datadir'
Signed-off-by: Aloisio Almeida Jr <aloisiojr@gmail.com>
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 9bb6e2df513..baaa2f70465 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -3,7 +3,7 @@
$hasSQLite = (is_callable('sqlite_open') or class_exists('SQLite3'));
$hasMySQL = is_callable('mysql_connect');
$hasPostgreSQL = is_callable('pg_connect');
-$datadir = OC_Config::getValue('datadir', $SERVERROOT.'/data');
+$datadir = OC_Config::getValue('datadirectory', $SERVERROOT.'/data');
$opts = array(
'hasSQLite' => $hasSQLite,
'hasMySQL' => $hasMySQL,