projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c2f674
)
Change the name of the session cookie. This will avoid problems with
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 29 Mar 2006 00:21:57 +0000
(
00:21
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 29 Mar 2006 00:21:57 +0000
(
00:21
+0000)
multiple wikis on the same host.
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 89047a9525f43957e2c7ab08425cefcc7979ea1a..fb4fd4475e9fb90d6bd9fcbf28d14492079b0379 100644
(file)
--- 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" });