mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
ObjectCommand: formattingtt
This commit is contained in:
parent
9775922975
commit
0a25e256d1
@ -456,7 +456,7 @@ class ObjectCommand extends Command
|
||||
protected function readFromStdin()
|
||||
{
|
||||
if (!defined('STDIN')) {
|
||||
define('STDIN', fopen("php://stdin","r"));
|
||||
define('STDIN', fopen('php://stdin', 'r'));
|
||||
}
|
||||
$inputIsTty = function_exists('posix_isatty') && posix_isatty(STDIN);
|
||||
if ($inputIsTty) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user