summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI_SessionCache.pm
diff options
context:
space:
mode:
authorivan <ivan>2007-11-28 08:46:23 +0000
committerivan <ivan>2007-11-28 08:46:23 +0000
commitb0810e3538c41c723ae47b982a2e87944be828e0 (patch)
tree4c90b289f8ae66a4f2afe62cc3f7733aeb4adb88 /FS/FS/ClientAPI_SessionCache.pm
parentacf139d6d9abe92d8951ac823406dccc7f3e8ea6 (diff)
default to FileCache for selfservice session cache
Diffstat (limited to 'FS/FS/ClientAPI_SessionCache.pm')
-rw-r--r--FS/FS/ClientAPI_SessionCache.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/ClientAPI_SessionCache.pm b/FS/FS/ClientAPI_SessionCache.pm
index b722484..bfab805 100644
--- a/FS/FS/ClientAPI_SessionCache.pm
+++ b/FS/FS/ClientAPI_SessionCache.pm
@@ -8,7 +8,7 @@ use FS::UID qw(datasrc);
install_callback FS::UID sub {
my $conf = new FS::Conf;
$module = $conf->config('selfservice_server-cache_module')
- || 'Cache::SharedMemoryCache';
+ || 'Cache::FileCache';
};
=head1 NAME
@@ -39,7 +39,7 @@ sub new {
eval "use $module;";
die $@ if $@;
my $self = $module->new(@_);
- $self->set_cache_root('/usr/local/etc/freeside/clientapi_session.'.datasrc)
+ $self->set_cache_root('%%%FREESIDE_CACHE%%%/clientapi_session.'.datasrc)
if $module =~ /^Cache::FileCache$/;
$self;
} else {