Index: application.php =================================================================== --- application.php (revision 14237) +++ application.php (working copy) @@ -2387,6 +2387,16 @@ return false; } + function SetConfigValue($name, $value) + { + $this->ConfigHash[$name] = $value; + + $fields_hash = Array ('VariableValue' => $value); + $this->Conn->doUpdate($fields_hash, TABLE_PREFIX . 'ConfigurationValues', 'VariableName = ' . $this->Conn->qstr($name)); + + $this->UnitConfigReader->ResetParsedData(); + } + function UpdateConfigCache() { if ($this->ConfigCacheIds) {