Commit 7d380d0ace02c29be73e8a3734f923d610af922b
Merge branch 'edge' of git@github.com:ktgit/knowledgetree into edge
Showing
1 changed file
with
2 additions
and
1 deletions
setup/wizard/steps/install.php
| ... | ... | @@ -108,8 +108,9 @@ class install extends step |
| 108 | 108 | $this->setDataFromSession(); |
| 109 | 109 | if ($this->util->isMigration()) { |
| 110 | 110 | $migrateSessionData = $this->getDataFromPackage('migrate', 'installation'); |
| 111 | + $configSessionData = $this->getDataFromSession('configuration'); | |
| 111 | 112 | $src = $migrateSessionData['location'] . DS . 'var' . DS . 'indexes'; |
| 112 | - $dst = SYSTEM_DIR . 'var' . DS . 'indexes'; | |
| 113 | + $dst = $configSessionData['paths']['varDirectory']['path'] . DS . 'indexes'; | |
| 113 | 114 | $this->util->copyDirectory($src, $dst); |
| 114 | 115 | } |
| 115 | 116 | } | ... | ... |