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