more whitespace cleanup
[civicrm-core.git] / tools / bin / scripts / memcache.php
CommitLineData
6a488035
TO
1<?php
2require_once '../civicrm.config.php';
3require_once 'CRM/Core/Config.php';
4require_once 'CRM/Utils/Cache.php';
5
6define('CIVICRM_USE_MEMCACHE', 1);
7
8$config = &CRM_Core_Config::singleton();
9$cache = &CRM_Utils_Cache::singleton();
10
0e04f44e 11$cache->set('CRM_Core_Config' .CRM_Core_Config::domainID(), $config);
12CRM_Core_Error::debug('get', $cache->get('CRM_Core_Config' . CRM_Core_Config::domainID()));
6a488035 13