- // Re-assign the variable
- //* DEBUG: */ print __METHOD__.': value='. $value . ',name=' . $currVariable['name'] . ',index=' . $index . chr(10);
- $this->assignConfigVariable($value);
+ // Is it a configuration key?
+ if ($this->getConfigInstance()->isConfigurationEntrySet($value)) {
+ // The value itself is a configuration entry
+ $this->assignConfigVariable($value);
+ } else {
+ // Re-assign the value directly
+ $this->setVariable('config', $currVariable['name'], $value);
+ }