diff options
-rw-r--r-- | IkiWiki/CGI.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 89047a952..fb4fd4475 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -483,8 +483,8 @@ sub cgi () { #{{{ return; } - CGI::Session->name("ikiwiki_session"); - + CGI::Session->name("ikiwiki_session_$config{wikiname}"); + my $oldmask=umask(077); my $session = CGI::Session->new("driver:db_file", $q, { FileName => "$config{wikistatedir}/sessions.db" }); |