VMWare Wizard template bug
Posted: Tue Mar 06, 2012 4:16 pm
The Template seems to have a bug in vmware.inc.php
The *.txt files created by the wizard places username and password all on one line. I have made a change that fixes this.
$username=grab_array_var($inargs,'username','');
change to:
$username=grab_array_var($inargs,'username','');
$username=($username."\n");
I am no php coder, so I could not figure out the correct string for newline input from an fputs. So what I did was just re-declare the $username variable with a newline.
CentOS 5.7 x86 Nagios XI 2011R1.9
The *.txt files created by the wizard places username and password all on one line. I have made a change that fixes this.
$username=grab_array_var($inargs,'username','');
change to:
$username=grab_array_var($inargs,'username','');
$username=($username."\n");
I am no php coder, so I could not figure out the correct string for newline input from an fputs. So what I did was just re-declare the $username variable with a newline.
CentOS 5.7 x86 Nagios XI 2011R1.9