]> sipb.mit.edu Git - ikiwiki.git/commitdiff
display an error message if CGI::Session fails to load
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 21 May 2008 19:15:11 +0000 (15:15 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 21 May 2008 19:15:11 +0000 (15:15 -0400)
IkiWiki/CGI.pm

index 5fccfb4741d4375760777a530916fa535e0273c2..1ec0128fec21b26387079b2544882fc92c99facd 100644 (file)
@@ -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);