Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2020-03-17 05:14:38 +00:00
committed by StyleCI Bot
parent 9fe479b141
commit ed3bbd76d7
75 changed files with 1285 additions and 1030 deletions

View File

@@ -14,10 +14,10 @@ if (isset($_FILES['image'])) {
$link = "http://$_SERVER[HTTP_HOST]".'/codex/'.$path;
//Here we are constructing the JSON Object
$res = ['upload' => [
'links' => ['original' => $link],
'image' => ['width' => $data[0],
'height' => $data[1],
],
'links' => ['original' => $link],
'image' => ['width' => $data[0],
'height' => $data[1],
],
]];
//echo out the response :)
echo json_encode($res);