X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/d18b9fc8e58da26fe1d30b81f7b3549d9595e8cc..d22e7febda8720bc38069f7061adb43b98143c48:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index cd0626a..e3316fc 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; @@ -70,7 +72,7 @@ sub stylesheet { return map { sprintf( '', - $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.10", $_ + $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.11", $_ ) } @avail; } @@ -118,7 +120,7 @@ sub Html { unshift @{ $meta->{raw} }, stylesheet($meta->{stylesheet}); push @{ $meta->{raw} }, ( - '', + '', ); # optional amends @@ -127,7 +129,7 @@ sub Html { '', !$showkeys ? '' : $showkeys eq 'ghost' ? '' : (), - '', + '', ) if $meta->{keys}; # leading output