mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 12:38:01 +00:00
added error reason to api
This commit is contained in:
@@ -45,4 +45,4 @@ else if($_REQUEST['geturlinfo'])
|
||||
else if($_REQUEST['a']=='oembed')
|
||||
echo json_encode($pm->oembed($_REQUEST['url'],$_REQUEST['t']));
|
||||
else
|
||||
echo json_encode(array('status'=>'ERR'));
|
||||
echo json_encode(array('status'=>'ERR','reason'=>'NO_VALID_COMMAND'));
|
||||
|
||||
Reference in New Issue
Block a user