Fix: apply bootstrap - mouse, typing app

This commit is contained in:
2018-07-29 19:07:58 +09:00
parent d0be19ef0a
commit cc4adc2bb2
7 changed files with 95 additions and 71 deletions
+6 -5
View File
@@ -1,17 +1,18 @@
<?php
header('Content-Type: application/json');
include "./../lib/send_reply_json.php";
include "./../setup/connect_db.php";
$maestroID = $_POST["maestro_id"];
$appID = $_POST["app_id"];
include "./../setup/connect_db.php";
activate_app($maestroID, $appID);
$replyJSON["RESULT"] = "ok";
echo json_encode($replyJSON, JSON_UNESCAPED_UNICODE);
$db_conn->close();
set_data("activatedAppList", $activated_mouse_app_list);
send_result_success();
exit;
function activate_app($maestroID, $appID) {