private function _updateConfig() { $result = $this->prompter->getResults(); $dbConfig = configGet('dbConfig'); $dbConfig['dbName'] = $result['name']; $dbConfig['charset'] = $result['charset']; configSet('dbConfig', $dbConfig); }
function loadOptions($argv) { $options = getopt('', configGet('options')); if (isset($options['help'])) { return false; } if (isset($options['configDir'])) { configSet('configDir', $options['configDir']); } }