Files
assetmgt/api/v1/post/debug.php
2024-08-30 15:01:07 +02:00

20 lines
451 B
PHP

<?php
defined($security_key) or exit;
//------------------------------------------
// DEBUG
//------------------------------------------
//CONTENT FROM API (POST)
$post_content = json_decode(decode_payload($input),true);
//ADD POST CONTENT TO DEBUG LOG
//------------------------------------------
// Debuglog
//------------------------------------------
if (debug){
$message = $date.';'.$post_content.';'.$username;
debuglog($message);
}