2 use strict; use warnings;
4 use OpenSRF::AppSession;
6 use OpenSRF::Utils::SettingsClient;
7 use OpenSRF::Utils::Cache;
13 Enables/disables added content lookups in apache. This does not (currently)
14 include jacket image lookups, which are Apache rewrites
16 usage: perl $0 <bootstrap_config> [enable|disable]
21 OpenSRF::System->bootstrap_client(config_file => $config);
23 my $cache = OpenSRF::Utils::Cache->new;
24 $cache->put_cache('ac.no_lookup', 1) if $command eq 'disable';
25 $cache->delete_cache('ac.no_lookup') if $command eq 'enable';