index c533fb800586e3ee19838a6ea736253aa9a1c3aa..7e416556d036bcf13f8aa23af19f69c783d3b019 100644 (file)
continue;
}
+ /* Change model name .. */
+ if ((preg_match("/^\*".$attribute.":*\s+/",$line)) && ($attribute == "ModelName")){
+ $line= "*$attribute: \"$value\"\n";
+ $done =true;
+ }
+
if (($fsection) && ($section != "NO_SECTION")){
if (preg_match("/^\*CloseGroup:*\s+\**$section\/*/", $line)){
$fsection= false;