genServices.php is missing the a set of str_replaces of #S# and #BS# in 1.4. This causes obvious issues when attempting to generate a set of config files.
I was going to submit a patch although unsure of the process. Patch is below.
I was going to submit a patch although unsure of the process. Patch is below.
Code:
--- genServices.php 2007-03-29 06:29:05.000000000 -0400 +++ www/include/configuration/configGenerate/genServices.php 2007-04-26 17:08:54.000000000 -0400 @@ -257,6 +257,10 @@ $strTMP .= "# ".$cmt."\n"; } $strTMP .= "define service{\n"; + + $service["service_description"] = str_replace('#S#', "/", $service["service_description"]); + $service["service_description"] = str_replace('#BS#', "\\", $service["service_description"]); + if ($service["service_register"]) { //HostGroup Relation $hostGroup = array(); @@ -448,4 +452,4 @@ $DBRESULT->free(); unset($str); unset($i); -?> \ No newline at end of file +?>