This commit is contained in:
Filip Penkava
2017-06-07 13:26:54 +02:00
parent d7cec58124
commit 38df5bc453
4 changed files with 13 additions and 9 deletions

View File

@@ -3,9 +3,9 @@
require_once '../../../wp-load.php';
$json = file_get_contents('php://input');
//$json = file_get_contents('log.txt');
//$json = file_get_contents('./log/superdesk.txt');
file_put_contents('log.txt', $json . "\n\n", FILE_APPEND);
file_put_contents('./log/superdesk.txt', $json . "\n\n", FILE_APPEND);
$obj = json_decode($json, true);