From: cash Date: Tue, 1 Mar 2011 23:34:25 +0000 (+0000) Subject: fixed bug where dataroot wasn't being set when regenerating cache during the install X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4ade831cb3fda18df7f09b750281b5e63d2bf2cc;p=lorea%2Felgg.git 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 --- 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();