diff options
Diffstat (limited to 'src/phinde')
| -rw-r--r-- | src/phinde/Log.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phinde/Log.php b/src/phinde/Log.php index 36a126b..7ae0d82 100644 --- a/src/phinde/Log.php +++ b/src/phinde/Log.php @@ -5,7 +5,7 @@ class Log { public static function error($msg) { - static::log($msg, STDERR); + static::log($msg, 'php://stderr'); } public static function info($msg) @@ -15,7 +15,7 @@ class Log } } - public static function log($msg, $stream = STDOUT) + public static function log($msg, $stream = 'php://stdout') { if (isset($GLOBALS['phinde']['logfile']) && $GLOBALS['phinde']['logfile'] != '' |
