Adding config() call to ensure that DATABASE_CONFIG has been

loaded before attempting to use it.
refs #277

Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
ceeram 2009-11-09 18:30:09 +01:00 committed by mark_story
parent fa1b7f617f
commit d251a1d5ca

View file

@ -258,6 +258,7 @@ class DbConfigTask extends Shell {
$oldConfigs = array();
if (file_exists($filename)) {
config('database');
$db = new $this->databaseClassName;
$temp = get_class_vars(get_class($db));