]> git.koha-community.org Git - koha.git/commit
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)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 21 Jan 2012 04:21:17 +0000 (23:21 -0500)
commit0c83cd4bc209581d4dd6b635a7315de0fdef605d
tree6446a0b436213183cee67557b92517e757c239d5
parentc7f61d9a0da916d2bae978b396ca53b5dfe61585
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>
(cherry picked from commit 22dca58cbad64841fb12a6e48afa50500c1a5c60)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 9a314c90b1f389b71bed2a15961c1e82624efb58)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Context.pm
etc/koha-httpd.conf