diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 23:34:25 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 23:34:25 +0000 |
commit | 4ade831cb3fda18df7f09b750281b5e63d2bf2cc (patch) | |
tree | 8a9d9e1644b2732be9527293f314068c553ca058 /install/ElggInstaller.php | |
parent | 1d416fd2ae6d0e70cd5adf5140dbc52894718a76 (diff) | |
download | elgg-4ade831cb3fda18df7f09b750281b5e63d2bf2cc.tar.gz elgg-4ade831cb3fda18df7f09b750281b5e63d2bf2cc.tar.bz2 |
fixed bug where dataroot wasn't being set when regenerating cache during the install
git-svn-id: http://code.elgg.org/elgg/trunk@8551 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install/ElggInstaller.php')
-rw-r--r-- | install/ElggInstaller.php | 3 |
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(); |