aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ElggInstaller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index 562cdff87..ab4998b37 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -1335,7 +1335,8 @@ class ElggInstaller {
$this->enablePlugins();
// reset the views path in case of installing over an old data dir.
- $dataroot = datalist_get('dataroot');
+ $dataroot = $submissionVars['dataroot'];
+ $CONFIG->dataroot = $dataroot;
$cache = new ElggFileCache($dataroot);
$cache->delete('view_paths');
elgg_invalidate_simplecache();