Example #1
0
 /**
  * Create me
  */
 function __construct($params = array())
 {
     if (!function_exists('apc_store')) {
         throw new Exception('Apc extension not loaded');
     }
     return parent::__construct($params);
 }
Example #2
0
 /**
  * Create me
  */
 function __construct($params = array())
 {
     if (!extension_loaded("memcache")) {
         throw new exception('Memcache not available');
     }
     return parent::__construct($params);
 }