projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweeper.php: rename the ERROR_STREAM variable to error_stream
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
3e250b7
..
f1a4ba9
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-413,15
+413,15
@@
function parse_options_query_string() {
if (is_cli()) {
$options = parse_options_cli($argv, $argc);
if (is_cli()) {
$options = parse_options_cli($argv, $argc);
- $
ERROR_STREAM
= fopen('php://stderr', 'w');
+ $
error_stream
= fopen('php://stderr', 'w');
}
else {
$options = parse_options_query_string();
}
else {
$options = parse_options_query_string();
- $
ERROR_STREAM
= fopen('php://output', 'w');
+ $
error_stream
= fopen('php://output', 'w');
}
if (!isset($options['src_url'])) {
}
if (!isset($options['src_url'])) {
- fwrite($
ERROR_STREAM
, usage(is_cli() ? $argv : NULL));
+ fwrite($
error_stream
, usage(is_cli() ? $argv : NULL));
exit(1);
}
exit(1);
}