Replace backtick operator with exec.

This commit is contained in:
Lars Jung 2014-05-08 01:31:42 +02:00
parent a75f1b61bc
commit 364f71dd08
5 changed files with 12 additions and 15 deletions

View file

@ -78,7 +78,7 @@ function exec_cmd($cmd) {
$rc = null;
exec($cmd, $lines, $rc);
return $lines;
return implode('\n', $lines);
}
?>