コード例 #1
0
ファイル: OSRequirement.php プロジェクト: kobmaki/icingaweb2
 protected function evaluate()
 {
     $phpOS = Platform::getOperatingSystemName();
     $this->setStateText(sprintf(mt('setup', 'You are running PHP on a %s system.'), ucfirst($phpOS)));
     return strtolower($phpOS) === strtolower($this->getCondition());
 }