Skip to content

Commit

Permalink
moodlehq#128 - debugging oracle credentials into databse class
Browse files Browse the repository at this point in the history
  • Loading branch information
jpahullo committed Aug 11, 2021
1 parent 75050ac commit 2ac2293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge/MoodleConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function createContents(AbstractDatabase $database, $dataDir)
'{{BEHATWDHOST}}' => getenv('MOODLE_BEHAT_WDHOST') ?: 'http://localhost:4444/wd/hub',
'{{EXTRACONFIG}}' => self::PLACEHOLDER,
];
var_dump($database, $variables);

return str_replace(array_keys($variables), array_values($variables), $template);
}

Expand Down
1 change: 1 addition & 0 deletions src/Installer/MoodleInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public function install()

$this->getOutput()->debug('Creating Moodle\'s config file');
$contents = $this->config->createContents($this->database, $this->expandPath($this->dataDir));
$this->getOutput()->debug($contents);
$this->config->dump($this->moodle->directory.'/config.php', $contents);

$this->addEnv('MOODLE_DIR', $this->moodle->directory);
Expand Down

0 comments on commit 2ac2293

Please sign in to comment.