From 4d16f134d915c72e398c6cb7cdafce71ca76979c Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Fri, 27 Nov 2009 16:59:21 +0200 Subject: [PATCH] Modified code for copying existing lucene indexing information when doing a migration from 3.6.1 - now uses the var directory as set in the config step of the wizard, which by default is the external var directory --- setup/wizard/steps/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/wizard/steps/install.php b/setup/wizard/steps/install.php index 6659137..4971e19 100644 --- a/setup/wizard/steps/install.php +++ b/setup/wizard/steps/install.php @@ -108,8 +108,9 @@ class install extends step $this->setDataFromSession(); if ($this->util->isMigration()) { $migrateSessionData = $this->getDataFromPackage('migrate', 'installation'); + $configSessionData = $this->getDataFromSession('configuration'); $src = $migrateSessionData['location'] . DS . 'var' . DS . 'indexes'; - $dst = SYSTEM_DIR . 'var' . DS . 'indexes'; + $dst = $configSessionData['paths']['varDirectory']['path'] . DS . 'indexes'; $this->util->copyDirectory($src, $dst); } } -- libgit2 0.21.4