Make GeoIP headers optional
This commit is contained in:
parent
d22396c298
commit
cf0d87610c
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -130,6 +130,7 @@ sub register {
|
|||
$self->{_args}{db_dir} ||= '/usr/local/share/GeoIP';
|
||||
|
||||
$self->load_geoip() or return;
|
||||
return if ! $self->qp->config('add_geoip_headers');
|
||||
$self->register_hook( data_post => 'add_headers' );
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
1
|
Loading…
Reference in New Issue