X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6ab9c94cde0ca32c221dc3120f0088e1693e71c1..44f2bc2a8a46bec091ba5736bdef455a523aec85:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index 3a51600..68ada33 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -34,6 +34,8 @@ BEGIN { Alert("Fatal error: $html."); }; + push @INC, '.'; + # user request our $Dev = $ENV{HTTP_HOST} =~ /\bdev\./; our ($file) = $ENV{SCRIPT_FILENAME} =~ m{ ([^/]+) \.plp$ }x; @@ -117,13 +119,17 @@ sub Html { unless $PLP::sentheaders; unshift @{ $meta->{raw} }, stylesheet($meta->{stylesheet}); + push @{ $meta->{raw} }, ( + '', + ); + # optional amends push @{ $meta->{raw} }, ( '', '', !$showkeys ? '' : $showkeys eq 'ghost' ? '' : (), - '', + '', ) if $meta->{keys}; # leading output