api post sort of working - output status,user need to be swapped
This commit is contained in:
parent
cc7c72be90
commit
b56e00c7c5
4 changed files with 67 additions and 5 deletions
|
@ -722,6 +722,8 @@ function item_post(&$a) {
|
|||
logger('return: ' . $_POST['return']);
|
||||
goaway($a->get_baseurl() . "/" . $_POST['return'] );
|
||||
}
|
||||
if($_POST['api_source'])
|
||||
return;
|
||||
$json = array('success' => 1);
|
||||
if(x($_POST,'jsreload') && strlen($_POST['jsreload']))
|
||||
$json['reload'] = $a->get_baseurl() . '/' . $_POST['jsreload'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue