~mark-mims/+junk/mediawiki-nfs-client

« back to all changes in this revision

Viewing changes to formulas/mediawiki/hooks/cache-relation-changed

  • Committer: Clint Byrum
  • Date: 2011-03-15 23:56:25 UTC
  • Revision ID: clint@ubuntu.com-20110315235625-l01o35clk5xizm8w
store sessions in memcached

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
memcache_template = """<?php
35
35
$wgMainCacheType = CACHE_MEMCACHED;
36
36
$wgMemCachedServers = array(%s);
 
37
$wgSessionsInMemcached = true;
37
38
"""
38
39
 
39
40
with tempfile.NamedTemporaryFile(dir='/etc/mediawiki',delete=False) as settings: