/** * A private function to check if the remote client is using a local IP address. * Maybe this function should become a public function in the Core class. */ private function isLocal() { $ipaddr = $_SERVER['REMOTE_ADDR']; return ZFE_Core::isLocal($ipaddr); }