git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
word: database module to connect to postgres
[sheet.git]
/
common.inc.plp
diff --git
a/common.inc.plp
b/common.inc.plp
index d0e1c328ec862f2221443b2517804927f7592a84..dd41751a5789d861a4559312e98d745a78878c36 100644
(file)
--- a/
common.inc.plp
+++ b/
common.inc.plp
@@
-78,7
+78,7
@@
sub stylesheet {
return map { sprintf(
'<link rel="%s" type="text/css" media="all" href="%s" title="%s">',
return map { sprintf(
'<link rel="%s" type="text/css" media="all" href="%s" title="%s">',
- $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.1
1
", $_
+ $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.1
2
", $_
) } @avail;
}
) } @avail;
}
@@
-198,7
+198,7
@@
BEGIN {
$PLP::ERROR = sub {
my ($text, $html) = @_;
warn $text;
$PLP::ERROR = sub {
my ($text, $html) = @_;
warn $text;
- unless ($PLP::sentheaders
and $PLP::sentheaders->[0] !~ m{/PLP\.pm$}
) {
+ unless ($PLP::sentheaders) {
Html({nocache => 1});
say '<h1>Page unavailable</h1>';
}
Html({nocache => 1});
say '<h1>Page unavailable</h1>';
}