Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
schuer authored Apr 23, 2018
1 parent cd2530d commit 53f16a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<?php

/** @var rex_addon $this */

// copy backup files
rex_dir::copy(
$this->getPath('backups'),
rex_addon::get('backup')->getDataPath()
);

// update config
// merge current config with additional config

// Background information:
// We need the demo to be installed first of all to fetch required packages and import data.
// To make this happen, we need to keep the config free of external dependencies and use an
Expand All @@ -15,4 +19,5 @@
rex_file::getConfig($this->getPath('package.yml')),
rex_file::getConfig($this->getPath('package.setup.yml'))
);
rex_file::putConfig($this->getPath('package.yml'), $config);

rex_file::putConfig($this->getPath('package.yml'), $config);

0 comments on commit 53f16a4

Please sign in to comment.