Bug 6193 - Use memcached cache koha-conf.xml configuration variables
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 14 Apr 2011 17:40:21 +0000 (14:40 -0300)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 27 Dec 2011 16:16:35 +0000 (17:16 +0100)
commit22dca58cbad64841fb12a6e48afa50500c1a5c60
treef4fc557ced31e49b0303ff76a5cba13fd35ebc94
parent8b0d28179316650e6643983b97227a0992384b4a
Bug 6193 - Use memcached cache koha-conf.xml configuration variables

Basically I add some code to Context.pm so it stores koha-conf.xml config vars
in memcached server. It is arguable whether this is an improvement or not,
tests are needed to conclude something about this.

Error handling was an issue with Cache::Memcached, I tried to do it the
simplest I could.

Note: As it was pointless to read the xml file to get the memcached
server info for accessing them for retreiving the info in the koha-conf.xml
file... I passed those values through apache's SetEnv. These variables
are set acordingly through the install scripts and commented out if koha
was setup not to use it.

Bug 6193 - Properly comment the code

Required by slef.

Regards
To+

Signed-off-by: Federico Rinaudo <frinaudo@infocpt.com.ar>
Signed-off-by: MJ Ray <mjr@phonecoop.coop>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Context.pm
etc/koha-httpd.conf