forked from lix-project/hydra
Comment around dupe to avoid drift
This commit is contained in:
parent
774194d681
commit
e98bd0ec8d
|
@ -51,6 +51,11 @@ __PACKAGE__->config(
|
||||||
'Plugin::ConfigLoader' => {
|
'Plugin::ConfigLoader' => {
|
||||||
driver => {
|
driver => {
|
||||||
'General' => {
|
'General' => {
|
||||||
|
# Please keep these options in sync with corresponding
|
||||||
|
# call to `new Config::General` in `getHydraConfig()` sub
|
||||||
|
# in `Hydra/Helper/Nix.pm`. This is necessary in order to
|
||||||
|
# maintain consistent interpretation of the config by the
|
||||||
|
# various hydra components.
|
||||||
-UseApacheInclude => 1,
|
-UseApacheInclude => 1,
|
||||||
-IncludeAgain => 1
|
-IncludeAgain => 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,11 @@ sub getHydraConfig {
|
||||||
return $hydraConfig if defined $hydraConfig;
|
return $hydraConfig if defined $hydraConfig;
|
||||||
my $conf = $ENV{"HYDRA_CONFIG"} || (Hydra::Model::DB::getHydraPath . "/hydra.conf");
|
my $conf = $ENV{"HYDRA_CONFIG"} || (Hydra::Model::DB::getHydraPath . "/hydra.conf");
|
||||||
if (-f $conf) {
|
if (-f $conf) {
|
||||||
|
|
||||||
|
# Please keep these options in sync with corresponding
|
||||||
|
# `Catalyst::Plugin::ConfigLoader` configuration in `Hydra.pm`
|
||||||
|
# This is necessary in order to maintain consistent interpretation
|
||||||
|
# of the config by the various hydra components.
|
||||||
my %h = new Config::General( -ConfigFile => $conf
|
my %h = new Config::General( -ConfigFile => $conf
|
||||||
, -UseApacheInclude => 1
|
, -UseApacheInclude => 1
|
||||||
, -IncludeAgain => 1
|
, -IncludeAgain => 1
|
||||||
|
|
Loading…
Reference in a new issue