CIM88 - Changelog en reporting

This commit is contained in:
“VeLiTi”
2024-08-30 15:01:07 +02:00
parent 061fae6244
commit 0532f93bd9
16 changed files with 1287 additions and 8 deletions

19
api/v2/post/debug.php Normal file
View File

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