mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 15:24:00 +01:00
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
This commit is contained in:
8
processes/on-bug-check.php
Normal file
8
processes/on-bug-check.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
// Purpose: This file is run after a bug check, has $result string and $status arrays available to it
|
||||
// Langs: PHP only
|
||||
// Example:
|
||||
// $fh = fopen(dirname(__FILE__)."/../bug-logs.log", 'a');
|
||||
// fwrite($fh, "Bug check on: ".date("D dS M Y h:i:sa")."\nresult: ".$result.", status array:".var_export($status, true)."\n");
|
||||
// fclose($fh);
|
||||
?>
|
||||
Reference in New Issue
Block a user