Closed kim3-sudo closed 1 year ago
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()
empty() to determine fullness of constants is needed for ./admin, specifically in line 42.
./admin
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.
CRON_SERVER_IP
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.is not valid in PHP 5.4, since
CRON_SERVER_IP
is defined as a constant andempty()
cannot be used with a constant.