Browse Source

fixed lack of single quotes in $ENV in perl script

jahway603
D 1 year ago
parent
commit
bc81830120
  1. 4
      explorer.dragonx.is/bin/update.pl

4
explorer.dragonx.is/bin/update.pl

@ -15,13 +15,13 @@ sleep 30;
# While Siona swims, we pave with bricks on the road she will run on...
# my $dir = shift || $ENV{HOME} . "/data";
my $dir = shift || '/var/www/$ENV{SIONA_DOMAIN}/api';
my $dir = shift || '/var/www/$ENV{'SIONA_DOMAIN'}/api';
my $getinfo = readfile("$dir/getinfo.json");
my $mining = readfile("$dir/getmininginfo.json");
my $txstats = readfile("$dir/getchaintxstats.json");
# run the slowest last so the RPC interface isn't juggling
my $coinsupply = readfile("$dir/coinsupply.json");
my $template = readfile("/var/www/$ENV{SIONA_DOMAIN}/template.html");
my $template = readfile("/var/www/$ENV{'SIONA_DOMAIN'}/template.html");
#say $template;

Loading…
Cancel
Save