/** * Set whether the Geoip lookup should be enabled or not. Useful * to disable while testing or in environments Geoip lookup is wrong * * @param bool */ public static function set_enabled($bool) { self::$enabled = $bool; }