Skip to content

Commit

Permalink
Moved copy config to setup phase so the config is replaced for a repe…
Browse files Browse the repository at this point in the history
…ated migration
  • Loading branch information
zakhenry committed Aug 19, 2015
1 parent 67df1ef commit 56c42f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forum/src/Spira/Build.php
Expand Up @@ -56,9 +56,6 @@ protected function buildVanillaApp()
// Copy the SSO plugin to the plugins directory
$this->recurseCopy('vendor/vanilla/addons/plugins/jsconnect', 'public/plugins/jsconnect');

// Copy the initial configuration to conf directory
copy('config.php', 'public/conf/config.php');

copy('bootstrap.database.php', 'public/conf/bootstrap.early.php');

$this->setupVanilla();
Expand Down Expand Up @@ -102,6 +99,9 @@ protected static function getInstance()
*/
protected function setupVanilla()
{

copy('config.php', 'public/conf/config.php'); //also overwrites the config file for a repeated migration (for qa)

(new VanillaConfigurator)->start();
}
}

0 comments on commit 56c42f2

Please sign in to comment.