diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-21 15:15:11 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-21 15:15:11 -0400 |
commit | 9a8a67f078117129ee2fcedd3c704391bdc2723c (patch) | |
tree | b65cc1f5110501f528b469867d342f10bc5352af /IkiWiki | |
parent | 3a753c92a7660877cd725d1e065c9c1593699df4 (diff) | |
download | ikiwiki-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.pm | 1 |
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); |