Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorPathSetupCheck.php
| Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | protected function executeChecks() { | ||||
| } | } | ||||
| if ($bad_paths) { | if ($bad_paths) { | ||||
| foreach ($bad_paths as $path_part => $message) { | foreach ($bad_paths as $path_part => $message) { | ||||
| $digest = substr(PhabricatorHash::digest($path_part), 0, 8); | $digest = substr(PhabricatorHash::digest($path_part), 0, 8); | ||||
| $this | $this | ||||
| ->newIssue('config.PATH.'.$digest) | ->newIssue('config.PATH.'.$digest) | ||||
| ->setName(pht('$PATH Component Unusable')) | ->setName(pht('%s Component Unusable', '$PATH')) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht( | pht( | ||||
| 'A component of the configured PATH can not be used by '. | 'A component of the configured PATH can not be used by '. | ||||
| 'the webserver: %s', | 'the webserver: %s', | ||||
| $path_part)) | $path_part)) | ||||
| ->setMessage( | ->setMessage( | ||||
| pht( | pht( | ||||
| "The configured PATH includes a component which is not usable. ". | "The configured PATH includes a component which is not usable. ". | ||||
| Show All 14 Lines | |||||