projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a753c9
)
display an error message if CGI::Session fails to load
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 21 May 2008 19:15:11 +0000
(15:15 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 21 May 2008 19:15:11 +0000
(15:15 -0400)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 5fccfb4741d4375760777a530916fa535e0273c2..1ec0128fec21b26387079b2544882fc92c99facd 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-621,6
+621,7
@@
sub cgi_getsession ($) { #{{{
my $q=shift;
eval q{use CGI::Session};
+ error($@) if $@;
CGI::Session->name("ikiwiki_session_".encode_utf8($config{wikiname}));
my $oldmask=umask(077);