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()); }
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()); }