Change the name of the session cookie. This will avoid problems with
multiple wikis on the same host.master
parent
9c2f67454b
commit
b5656f595d
|
@ -483,7 +483,7 @@ sub cgi () { #{{{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGI::Session->name("ikiwiki_session");
|
CGI::Session->name("ikiwiki_session_$config{wikiname}");
|
||||||
|
|
||||||
my $oldmask=umask(077);
|
my $oldmask=umask(077);
|
||||||
my $session = CGI::Session->new("driver:db_file", $q,
|
my $session = CGI::Session->new("driver:db_file", $q,
|
||||||
|
|
Loading…
Reference in New Issue