some fix
This commit is contained in:
parent
97f5570326
commit
4d8bb1d4de
|
@ -70,7 +70,7 @@ while ($r=$action->get_action()){
|
||||||
exec("su ".$r["user"]);
|
exec("su ".$r["user"]);
|
||||||
switch ($r["type"]){
|
switch ($r["type"]){
|
||||||
case "CREATE_FILE" :
|
case "CREATE_FILE" :
|
||||||
$return=file_put_contents($params["file"],$params["contents"]);
|
$return=file_put_contents($params["file"],$params["content"]);
|
||||||
break;
|
break;
|
||||||
case "CREATE_DIR" :
|
case "CREATE_DIR" :
|
||||||
$return=mkdir($params["dir"]));
|
$return=mkdir($params["dir"]));
|
||||||
|
@ -81,6 +81,9 @@ while ($r=$action->get_action()){
|
||||||
case "MOVE" :
|
case "MOVE" :
|
||||||
$return=rename($params["src"],$params["dst"]);
|
$return=rename($params["src"],$params["dst"]);
|
||||||
break;
|
break;
|
||||||
|
case "PERMFIX" :
|
||||||
|
// TODO
|
||||||
|
break;
|
||||||
default :
|
default :
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue