[freeside-commits] freeside/FS/FS ClientAPI_SessionCache.pm, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Wed Nov 28 00:46:18 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv22066

Modified Files:
	ClientAPI_SessionCache.pm 
Log Message:
default to FileCache for selfservice session cache

Index: ClientAPI_SessionCache.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI_SessionCache.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ClientAPI_SessionCache.pm	8 Feb 2005 20:22:46 -0000	1.1
+++ ClientAPI_SessionCache.pm	28 Nov 2007 08:46:15 -0000	1.2
@@ -8,7 +8,7 @@
 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 @@
     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 {



More information about the freeside-commits mailing list