CIM88 - Changelog en reporting
This commit is contained in:
19
api/v2/post/debug.php
Normal file
19
api/v2/post/debug.php
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user