Fix in Linux
This commit is contained in:
parent
dc8341e8c6
commit
9d70c9efd2
1 changed files with 4 additions and 4 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]=escapeshellarg($arr_command[$x]);
|
||||||
|
|
||||||
}*/
|
}
|
||||||
|
|
||||||
$final_command=escapeshellcmd(implode(' ', $arr_command));
|
$final_command=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