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