contributions/cache.xcache/install/check_preconditions.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Check if XCache is active 00004 */ 00005 function cache_xcache_check_preconditions() { 00006 $ret = new Status(); 00007 if (!function_exists('xcache_set')) { 00008 $ret->merge('XCache is not enabled - XCache cache persister will not work!'); 00009 } 00010 return $ret; 00011 }