|
@@ -47,5 +47,6 @@ $route->get("/commands/$command_id", "Commands", "get", CamotionPermissions::COM
|
47
|
47
|
$route->post("/commands/add", "Commands", "add", array(CamotionPermissions::COMMAND_GET, CamotionPermissions::COMMAND_ADD));
|
48
|
48
|
$route->post("/commands/$command_id/edit", "Commands", "edit", array(CamotionPermissions::COMMAND_GET, CamotionPermissions::COMMAND_EDIT));
|
49
|
49
|
$route->post("/commands/$command_id/del", "Commands", "del", array(CamotionPermissions::COMMAND_GET, CamotionPermissions::COMMAND_DEL));
|
|
50
|
+$route->post("/commands/$command_id/exec", "Commands", "exec", array(CamotionPermissions::COMMAND_GET, CamotionPermissions::COMMAND_EXEC));
|
50
|
51
|
|
51
|
52
|
//sleep(1);
|