From 23d51a29f8207456351d4f64e65569e8b50f207e Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Sun, 25 Oct 2015 12:15:06 -0400 Subject: [PATCH] try 3 --- controller/Actions.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, []]; }