edit xml config again
This commit is contained in:
parent
d2d0f5d9d7
commit
b097c31f4a
2 changed files with 17 additions and 3 deletions
|
|
@ -160,7 +160,8 @@ function exec_ogp_module() {
|
|||
echo "<b>".$myXML."</b>";
|
||||
echo "<xmp>".$template."</xmp>";
|
||||
$myXML = "modules/config_games/server_configs/".$key_name."_".$os.$arch.".xml";
|
||||
$template = preg_replace("/\r\n?|\n/", "\n", $template);
|
||||
$fh = fopen($myXML, 'w') or die("No Write Permission.");
|
||||
fwrite($fh, $template);
|
||||
fclose($fh);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue