diff options
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 70595d4..b46e41b 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -470,8 +470,8 @@ around BUILDARGS => sub { }; }; -my @letter1 = ( 'a' .. 'z', 'A' .. 'Z' ); # First digit is base 52. -my @lettern = ( '0' .. '9', 'a' .. 'z', 'A' .. 'Z', '-', '_' ); # Remaining digits are base 64. +my @letter1 = ( 'a' .. 'z' ); # First digit is base 26. +my @lettern = ( '0' .. '9', 'a' .. 'z', '-', '_' ); # Remaining digits are base 38. sub _build_shortname { my ( $s ) = @_; @@ -578,12 +578,12 @@ sub _build_ikiwiki_setup { $config->{"wrappers"} = [ { "wrapper" => $s->ikiwiki_cgipath - , "wrappergroup" => $s->group->name + , "wrappergroup" => "git-" . $s->shortname , "wrappermode" => "06755" , "cgi" => 1 } , { "wrapper" => $s->path . "/hooks/post-update" - , "wrappergroup" => $s->group->name + , "wrappergroup" => "git-" . $s->shortname , "wrappermode" => "06755" , "notify" => 0 } |