Commit 7d380d0ace02c29be73e8a3734f923d610af922b

Authored by Jarrett Jordaan
2 parents 26710a4f 5423af22

Merge branch 'edge' of git@github.com:ktgit/knowledgetree into edge

setup/wizard/steps/install.php
@@ -108,8 +108,9 @@ class install extends step @@ -108,8 +108,9 @@ class install extends step
108 $this->setDataFromSession(); 108 $this->setDataFromSession();
109 if ($this->util->isMigration()) { 109 if ($this->util->isMigration()) {
110 $migrateSessionData = $this->getDataFromPackage('migrate', 'installation'); 110 $migrateSessionData = $this->getDataFromPackage('migrate', 'installation');
  111 + $configSessionData = $this->getDataFromSession('configuration');
111 $src = $migrateSessionData['location'] . DS . 'var' . DS . 'indexes'; 112 $src = $migrateSessionData['location'] . DS . 'var' . DS . 'indexes';
112 - $dst = SYSTEM_DIR . 'var' . DS . 'indexes'; 113 + $dst = $configSessionData['paths']['varDirectory']['path'] . DS . 'indexes';
113 $this->util->copyDirectory($src, $dst); 114 $this->util->copyDirectory($src, $dst);
114 } 115 }
115 } 116 }