Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / repository / config / PhabricatorRepositoryConfigOptions.php
blobf01515501a13282f34615137d88d77e5a3492dab
1 <?php
3 final class PhabricatorRepositoryConfigOptions
4 extends PhabricatorApplicationConfigOptions {
6 public function getName() {
7 return pht('Repositories');
10 public function getDescription() {
11 return pht('Configure repositories.');
14 public function getIcon() {
15 return 'fa-hdd-o';
18 public function getGroup() {
19 return 'apps';
22 public function getOptions() {
23 return array(
24 $this->newOption('repository.default-local-path', 'string', '/var/repo/')
25 ->setLocked(true)
26 ->setSummary(
27 pht('Default location to store local copies of repositories.'))
28 ->setDescription(
29 pht(
30 'The default location in which to store working copies and other '.
31 'data about repositories. %s will control and manage '.
32 'data here, so you should **not** choose an existing directory '.
33 'full of data you care about.',
34 PlatformSymbols::getPlatformServerName())),