From: Raphaƫl Gertz Date: Wed, 21 Jun 2017 09:07:07 +0000 (+0200) Subject: Fix script for prod X-Git-Tag: 2.0.3~17 X-Git-Url: https://git.rapsys.eu/acme/commitdiff_plain/baefa26a7b8ea0eb362851dceb3cf3cfdffc86e8?ds=inline;hp=ccae3dab1501dc27f9cbab80313390f75b5b0472 Fix script for prod --- diff --git a/Acme.pm b/Acme.pm index 134b3d4..e928010 100644 --- a/Acme.pm +++ b/Acme.pm @@ -324,7 +324,7 @@ sub directory { my $time = time; # Set directory - my $dir = $self->{prod} ? ACME_PROD_DIR : ACME_DIR; + my $dir = $self->{domain}{prod} ? ACME_PROD_DIR : ACME_DIR; # Create a request my $req = HTTP::Request->new(GET => $dir.'?'.$time);