Basic prototype to handle Github webhooks

This commit is contained in:
Frédéric Guillot
2014-09-22 14:31:12 +02:00
parent eeb4688dcc
commit ab1a4760ed
7 changed files with 168 additions and 2 deletions

View File

@@ -6,6 +6,10 @@ use PicoDb\Database;
function debug($message)
{
if (! is_string($message)) {
$message = var_export($message, true);
}
error_log($message.PHP_EOL, 3, 'data/debug.log');
}