craigwatson / bitcoind-status

PHP application to display status and information from the Bitcoin node daemon.
https://odin.vikingserv.net
Apache License 2.0
82 stars 77 forks source link

Fix logic error on display_bitcoind_uptime #45

Closed jamesmacwhite closed 6 years ago

jamesmacwhite commented 6 years ago

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.