summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2015-12-10 11:03:47 +0000
committerPhil Burton <phil@d3r.com>2015-12-10 11:03:47 +0000
commit08a3ce45931445179a745a71b2645d17e39f7e95 (patch)
treedba5d322a0bd5e007d2e05d9ec93737c0486e40c /search.php
parent075d8e7b5cd2606af5bbeaebd517a787a656e8ed (diff)
throw config/code errors to stderr
Diffstat (limited to 'search.php')
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
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;
}