Added profile edit page
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user