Fix in Linux
This commit is contained in:
parent
767f8cd52a
commit
dc8341e8c6
1 changed files with 3 additions and 3 deletions
|
|
@ -11,13 +11,13 @@ class Linux {
|
||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
for($x=1;$x<count($arr_command);$x++) {
|
/*for($x=1;$x<count($arr_command);$x++) {
|
||||||
|
|
||||||
$arr_command[$x]=escapeshellcmd($arr_command[$x]);
|
$arr_command[$x]=escapeshellcmd($arr_command[$x]);
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
$final_command=implode(' ', $arr_command);
|
$final_command=escapeshellcmd(implode(' ', $arr_command));
|
||||||
|
|
||||||
$descriptorspec = array(
|
$descriptorspec = array(
|
||||||
0 => array("pipe", "r"), // stdin
|
0 => array("pipe", "r"), // stdin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue