// Remove it from stack
$this->removeVariable($currVariable['name'], 'general');
-
- // Re-assign the variable
//* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(__METHOD__ . ': value='. $value . ',name=' . $currVariable['name'] . ',index=' . $index);
- $this->setVariable('config', $currVariable['name'], $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);
+ }
} // END - foreach
}