Skip to content

Commit f5be676

Browse files
committed
New process available on bug check
This is called after results are established. $results and $status available for use and example shows logging them to a file
1 parent b2117ec commit f5be676

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

processes/on-bug-check.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
// Purpose: This file is run after a bug check, has $result string and $status arrays available to it
3+
// Langs: PHP only
4+
// Example:
5+
// $fh = fopen(dirname(__FILE__)."/../bug-logs.log", 'a');
6+
// fwrite($fh, "Bug check on: ".date("D dS M Y h:i:sa")."\nresult: ".$result.", status array:".var_export($status, true)."\n");
7+
// fclose($fh);
8+
?>

0 commit comments

Comments
 (0)