NAME

Thunderhorse::Config - Configuration handling for Thunderhorse

SYNOPSIS

my $config_obj = $app->config;

DESCRIPTION

This class represents Thunderhorse app configuration. Most of the logic is implemented in Gears::Config, which this class extends.

INTERFACE

Inherits all interface from Gears::Config, and adds the interface documented below.

Methods

load_from_files

$obj->load_from_files($conf_dir, $env = undef)

Loads configurations from files in $conf_dir. Reads file config.* and $env.*, where the extensions are determined by declared readers (.pl by default, via Gears::Config::Reader::PerlScript). Reads all files in can find, but will silently skip loading anything if it finds nothing.

SEE ALSO

Gears::Config