forked from lix-project/hydra
Merge pull request #338 from expipiplus1/apache-include
Enable apache style includes in the config file
This commit is contained in:
commit
b03e3c593c
|
@ -38,7 +38,10 @@ sub getHydraConfig {
|
|||
return $hydraConfig if defined $hydraConfig;
|
||||
my $conf = $ENV{"HYDRA_CONFIG"} || (Hydra::Model::DB::getHydraPath . "/hydra.conf");
|
||||
if (-f $conf) {
|
||||
my %h = new Config::General($conf)->getall;
|
||||
my %h = new Config::General( -ConfigFile => $conf
|
||||
, -UseApacheInclude => 1
|
||||
)->getall;
|
||||
|
||||
$hydraConfig = \%h;
|
||||
} else {
|
||||
$hydraConfig = {};
|
||||
|
|
Loading…
Reference in a new issue