diff --git a/controller/Actions.class.php b/controller/Actions.class.php index 2b7dac79..1535d48f 100644 --- a/controller/Actions.class.php +++ b/controller/Actions.class.php @@ -39,7 +39,7 @@ class Actions $secret = file_get_contents($_SERVER['ROOT_DIR'] . '/data/secret/github-secret'); $isToMaster = $payload->ref === 'refs/heads/master'; - file_put_contents($_SERVER['ROOT_DIR'] . '/log/github.txt', ($isToMaster ? 'master' : 'apprentince') . "\n$secret\n" . print_r($payload, TRUE), FILE_APPEND); + file_put_contents($_SERVER['ROOT_DIR'] . '/log/github.txt', ($isToMaster ? 'master' : 'apprentince') . "\n$secret\n" . print_r($payload, TRUE) . print_r($_REQUEST, true)); return [null, []]; }