My bad. I know better than to post code before my first cup of coffee. That last ? should be a :
//if ($this->isIpWhitelisted($_SERVER['REMOTE_ADDR'] ?? '.') === true) {
if ($this->isIpWhitelisted((isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '.')) === true) {


Reply With Quote
