From 9a8a67f078117129ee2fcedd3c704391bdc2723c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 May 2008 15:15:11 -0400 Subject: [PATCH] display an error message if CGI::Session fails to load --- IkiWiki/CGI.pm | 1 + 1 file changed, 1 insertion(+) 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);