common: prepare path request in global variable
[sheet.git] / termcol.plp
index ddf6eb4f5d5b40b5c644f6e01a645528095a6343..3aece81cf64f052ba6fa37283e854d34788e2891 100644 (file)
@@ -18,7 +18,7 @@ my @draw = map { [$_, s/\W+\z//] } grep { $_ } split m(/),
        $get{img} // exists $get{img} && 'indi.png';
 
 my @termlist;
-push @termlist, split /\W+/, $ENV{PATH_INFO} || 'default';
+push @termlist, split /\W+/, $Request || 'default';
 
 :>
 <h1>Terminal colours</h1>