- Added an option to override the session cookie name.
This commit is contained in:
parent
da7dea01f5
commit
2ea58485c9
11 changed files with 40 additions and 28 deletions
|
|
@ -224,6 +224,19 @@ sub get {
|
|||
return $self->{_config}{$param};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getCookieName ( )
|
||||
|
||||
Returns the cookie name defined in the config file. Returns "wgSession" if one isn't defined.
|
||||
|
||||
=cut
|
||||
|
||||
sub getCookieName {
|
||||
my $self = shift;
|
||||
return $self->get("cookieName") || "wgSession";
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue