--- alx-src/branches/alx-web-060/include/common-functions.php 2011/07/05 15:24:46 2592 +++ alx-src/branches/alx-web-060/include/common-functions.php 2011/07/05 15:26:02 2593 @@ -53,7 +53,7 @@ global $ip; // sed cmd: ssh -l root 10.11.12.13 'sed -i -e "s|^\(VAR=\).*|\1\"VALUE\"| FILE' - sshdo('if [[ ! -z $(grep "^'.$var.'=" '.$file.') ]]; then sed -i -e "s|^\('.$var.'=\).*|\1\"'.$value.'\"|" '.$file. 'else echo "'.$var.'=\"'.$value.'\"" >> '.file, $ip); + sshdo('if [[ ! -z $(grep "^'.$var.'=" '.$file.') ]]; then sed -i -e "s|^\('.$var.'=\).*|\1\"'.$value.'\"|" '.$file. 'else echo "'.$var.'=\"'.$value.'\"" >> '.$file, $ip); } function online($ip)