From: Joey Hess Date: Wed, 21 May 2008 19:15:11 +0000 (-0400) Subject: display an error message if CGI::Session fails to load X-Git-Tag: 2.47~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a8a67f078117129ee2fcedd3c704391bdc2723c;p=ikiwiki.git display an error message if CGI::Session fails to load --- 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);