예제 #1
0
 /**
  * @return string
  */
 public function getInstallationFailureReason()
 {
     return $this->global_cache->getInstallationFailureReason();
 }
예제 #2
0
 /**
  * @return string
  */
 public function getInstallationFailureReason()
 {
     if ($this->getMemcacheObject() instanceof Memcached) {
         $stats = $this->getMemcacheObject()->getStats();
         if (!$stats[self::STD_SERVER . ':' . self::STD_PORT]['pid'] > 0) {
             return 'No Memcached-Server available';
         }
     }
     return parent::getInstallationFailureReason();
 }