Added profile edit page

This commit is contained in:
2017-10-28 10:47:16 +07:00
parent f687983b45
commit 5eb78b4440
12 changed files with 296 additions and 20 deletions

View File

@@ -61,6 +61,17 @@ class Api
}
}
if ($table == 'users') {
unset($get['data']['salt']);
}
if (is_array($get['data'])) {
$get['status'] = true;
} else {
$get['status'] = false;
$get['message'] = $get['data'];
unset($get['data']);
}
header('Content-Type: application/json');
echo json_encode($get);