From 4ade831cb3fda18df7f09b750281b5e63d2bf2cc Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 1 Mar 2011 23:34:25 +0000 Subject: 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 --- install/ElggInstaller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3