Skip to content

Commit

Permalink
Merge pull request #8 from globalis-ms/develop
Browse files Browse the repository at this point in the history
version 0.1.6
  • Loading branch information
pierre-dargham authored Apr 5, 2019
2 parents cfb1119 + 7e64c1b commit 1d77944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ php:
- 7.0
- 7.1
- 7.2
- nightly
- 7.3

cache:
directories:
Expand Down
5 changes: 2 additions & 3 deletions src/WordPressTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ protected function wpGenerateSaltKeys($root = \RoboFile::ROOT)

protected function wpInitConfigFile($startPlaceholder = '<##', $endPlaceholder = '##>')
{
$settings = [];
$settings['DB_PREFIX'] = $this->io()->ask('Database prefix', 'cubi_');
$settings['WP_DEFAULT_THEME'] = $this->io()->ask('Default theme slug (you can change it later in ./config/application.php)', 'my-theme');
$settings = [];
$settings['DB_PREFIX'] = $this->io()->ask('Database prefix', 'cubi_');

$this->taskReplacePlaceholders(self::trailingslashit(\RoboFile::ROOT) . \RoboFile::PATH_FILE_CONFIG_APPLICATION)
->from(array_keys($settings))
Expand Down

0 comments on commit 1d77944

Please sign in to comment.