Fixed log for SATS (or if no TreeToken received)
This commit is contained in:
parent
00f1efb38d
commit
38b790c82d
|
@ -156,6 +156,8 @@
|
|||
$R->post('api(?:(/.*))/?', function($url){
|
||||
if( isset($_SERVER['HTTP_X_TREE_TOKEN']) )
|
||||
$GLOBALS['page_log']->log('api.call('.$_SERVER['HTTP_X_TREE_TOKEN'].')');
|
||||
else
|
||||
$GLOBALS['page_log']->log('api.call(NO_TOKEN)');
|
||||
|
||||
header('Content-Type: application/json; charset=UTF-8');
|
||||
|
||||
|
|
Loading…
Reference in New Issue