Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorPygmentSetupCheck.php
- This file was moved from src/applications/config/check/PhabricatorSetupCheckPygment.php.
<?php | <?php | ||||
final class PhabricatorSetupCheckPygment extends PhabricatorSetupCheck { | final class PhabricatorPygmentSetupCheck extends PhabricatorSetupCheck { | ||||
protected function executeChecks() { | protected function executeChecks() { | ||||
$pygment = PhabricatorEnv::getEnvConfig('pygments.enabled'); | $pygment = PhabricatorEnv::getEnvConfig('pygments.enabled'); | ||||
if ($pygment) { | if ($pygment) { | ||||
if (!Filesystem::binaryExists('pygmentize')) { | if (!Filesystem::binaryExists('pygmentize')) { | ||||
$summary = pht( | $summary = pht( | ||||
'You enabled pygments but the pygmentize script is not '. | 'You enabled pygments but the pygmentize script is not '. | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |