Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorSetupCheckRepositories.php
| Show All 12 Lines | if (!$repo_path) { | ||||
| ->setName(pht('Missing Repository Local Path')) | ->setName(pht('Missing Repository Local Path')) | ||||
| ->setSummary($summary) | ->setSummary($summary) | ||||
| ->addPhabricatorConfig('repository.default-local-path'); | ->addPhabricatorConfig('repository.default-local-path'); | ||||
| return; | return; | ||||
| } | } | ||||
| if (!Filesystem::pathExists($repo_path)) { | if (!Filesystem::pathExists($repo_path)) { | ||||
| $summary = pht( | $summary = pht( | ||||
| "The path for local repositories does not exist, or is not ". | 'The path for local repositories does not exist, or is not '. | ||||
| "readable by the webserver."); | 'readable by the webserver.'); | ||||
| $message = pht( | $message = pht( | ||||
| "The directory for local repositories (%s) does not exist, or is not ". | "The directory for local repositories (%s) does not exist, or is not ". | ||||
| "readable by the webserver. Phabricator uses this directory to store ". | "readable by the webserver. Phabricator uses this directory to store ". | ||||
| "information about repositories. If this directory does not exist, ". | "information about repositories. If this directory does not exist, ". | ||||
| "create it:\n\n". | "create it:\n\n". | ||||
| "%s\n". | "%s\n". | ||||
| "If this directory exists, make it readable to the webserver. You ". | "If this directory exists, make it readable to the webserver. You ". | ||||
| "can also edit the configuration below to use some other directory.", | "can also edit the configuration below to use some other directory.", | ||||
| Show All 13 Lines | |||||