X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI_SessionCache.pm;fp=FS%2FFS%2FClientAPI_SessionCache.pm;h=bfab8055d09678376cfc386cfcd501576570663f;hb=b0810e3538c41c723ae47b982a2e87944be828e0;hp=b722484eccdc534376142ce630ba441f9c4af04e;hpb=acf139d6d9abe92d8951ac823406dccc7f3e8ea6;p=freeside.git diff --git a/FS/FS/ClientAPI_SessionCache.pm b/FS/FS/ClientAPI_SessionCache.pm index b722484ec..bfab8055d 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 {