----------------------------------------------------------------------
($outfile, $err)
| 99 | |
| 100 | //---------------------------------------------------------------------- |
| 101 | public static function log($outfile, $err) |
| 102 | { |
| 103 | if (QR_LOG_DIR !== false) { |
| 104 | if ($err != '') { |
| 105 | if ($outfile !== false) { |
| 106 | file_put_contents(QR_LOG_DIR.basename($outfile).'-errors.txt', date('Y-m-d H:i:s').': '.$err, FILE_APPEND); |
| 107 | } else { |
| 108 | file_put_contents(QR_LOG_DIR.'errors.txt', date('Y-m-d H:i:s').': '.$err, FILE_APPEND); |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | //---------------------------------------------------------------------- |
| 115 | public static function dumpMask($frame) |
no outgoing calls
no test coverage detected