aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-21 15:15:11 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-21 15:15:11 -0400
commit9a8a67f078117129ee2fcedd3c704391bdc2723c (patch)
treeb65cc1f5110501f528b469867d342f10bc5352af /IkiWiki
parent3a753c92a7660877cd725d1e065c9c1593699df4 (diff)
downloadikiwiki-9a8a67f078117129ee2fcedd3c704391bdc2723c.tar
ikiwiki-9a8a67f078117129ee2fcedd3c704391bdc2723c.tar.gz
display an error message if CGI::Session fails to load
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 5fccfb474..1ec0128fe 100644
--- 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);