diff options
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Config.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Config.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/libpiny/lib/Piny/Config.pm b/usr/src/libpiny/lib/Piny/Config.pm index 5f2cbd7..8b6e192 100644 --- a/usr/src/libpiny/lib/Piny/Config.pm +++ b/usr/src/libpiny/lib/Piny/Config.pm @@ -11,7 +11,7 @@ use Moose::Util::TypeConstraints; use MooseX::StrictConstructor; use Carp; -use Config::Simple qw( ); +use Config::Simple qw( -lc ); # Types @@ -157,6 +157,8 @@ sub save { sub tweakable { my ( $attr, $default, $isa ) = @_; + $attr = lc $attr; + my $attrname = $attr; $attrname =~ s/_/./; @@ -207,7 +209,7 @@ tweakable "piny_ikiwikisrcdir" => "/srv/ikiwiki/", 'PathDir'; tweakable "piny_ikiwikiurl" => "http://piny.be/", 'HttpUrl'; tweakable "piny_ikiwikisecureurl" => "https://secure.piny.be/", 'HttpsUrl'; tweakable "piny_ikiwikisecurepath" => "/srv/www/secure.piny.be/", 'PathDir'; -tweakable "receive_denyNonFastForwards" => "true", 'GitBool'; +tweakable "receive_denynonfastforwards" => "true", 'GitBool'; # Moose boilerplate |