This commit is contained in:
Shish 2023-02-19 11:13:51 +00:00
parent fa95ccea23
commit 7d7d555671

View file

@ -82,7 +82,7 @@ class LogConsole extends Extension
}
if (!defined("UNITTEST") && PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg') {
$fp = fopen("/dev/tty", "w");
if($fp) {
if ($fp) {
fwrite($fp, $str);
fclose($fp);
}