This looks like a bug to me. Both conditions should be true here, otherwise you can have a situation where display_bitcoind_uptime is to set to false in the config, but if deployed on a Linux stack, PHP_OS condition would then be true and then bitcoind_uptime is set. Not desirable, if you want this option disabled because the bitcoind process is not running on the same box.
This looks like a bug to me. Both conditions should be true here, otherwise you can have a situation where
display_bitcoind_uptime
is to set to false in the config, but if deployed on a Linux stack, PHP_OS condition would then be true and thenbitcoind_uptime
is set. Not desirable, if you want this option disabled because the bitcoind process is not running on the same box.