From 08a3ce45931445179a745a71b2645d17e39f7e95 Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Thu, 10 Dec 2015 11:03:47 +0000 Subject: throw config/code errors to stderr --- search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.php b/search.php index bf2c44a..bbff519 100644 --- a/search.php +++ b/search.php @@ -122,7 +122,7 @@ function output($pieces, $glue = " - ", $stderr = false) } if ($stderr) { - echo "\x034" . $out . "\x03"; + fwrite(STDERR, "a" . $out . "\n"); } else { echo $out; } -- cgit v1.2.3