- or download this
# The configuration index is in Config::General format.
# We store it in /etc/gantry.conf (the default),
...
ConfigureVia FlatFile Config::Tiny /etc/gantry.d/phone_list.conf
ConfigureVia HTTP Config::General https://confserver.example.com/
+dbconf
</instance>
- or download this
<Location /budget_sales>
#...
PerlSetVar GantryConfInstance budget_sales
</Location>
- or download this
my $conf = Gantry::Conf->retrieve( {
instance => $r->dir_config( 'GantryConfInstance' )
});
- or download this
my $conf = Gantry::Conf->retrieve(
{
...
config_file => '/etc/gantry.d/standard.conf',
}
);
- or download this
use Getopt::Long;
my $instance = 'budget_default';
...
my $conf = Gantry::Conf->retrieve(
{ instance => $instance }
);