server-status-project/server-status

Wiki article needs updated

Closed this issue · 0 comments

The wiki article detailing installation needs to be updated. Support for empty() to determine the fullness of constants was not added until 5.5.

empty() to determine fullness of constants is needed for ./admin, specifically in line 42.

DEFINE("CRON_SERVER_IP", $db -> getSetting($mysqli, "cron_server_ip"));
if( empty(CRON_SERVER_IP)) {

is not valid in PHP 5.4, since CRON_SERVER_IP is defined as a constant and empty() cannot be used with a constant.