Make GeoIP headers optional

This commit is contained in:
Jared Johnson 2014-11-07 16:32:44 -06:00
parent d22396c298
commit cf0d87610c
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
1

View File

@ -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' );
}

View File

@ -0,0 +1 @@
1