diff --git a/lib/setup.php b/lib/setup.php index 9bb6e2df513422994b2ab16c43746e0481476e64..baaa2f7046579abc68b37ae9cced36c3bb7bc988 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,