Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorCoreConfigOptions.php
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | return array( | ||||
'the correct domain.')) | 'the correct domain.')) | ||||
->addExample('http://devtools.example.com/', pht('Valid Setting')), | ->addExample('http://devtools.example.com/', pht('Valid Setting')), | ||||
$this->newOption('phabricator.production-uri', 'string', null) | $this->newOption('phabricator.production-uri', 'string', null) | ||||
->setSummary( | ->setSummary( | ||||
pht('Primary install URI, for multi-environment installs.')) | pht('Primary install URI, for multi-environment installs.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'If you have multiple %s environments (like a '. | 'If you have multiple %s environments (like a '. | ||||
'development/staging environment for working on testing '. | 'development/staging environment and a production environment), '. | ||||
'Phabricator, and a production environment for deploying it), '. | |||||
'set the production environment URI here so that emails and other '. | 'set the production environment URI here so that emails and other '. | ||||
'durable URIs will always generate with links pointing at the '. | 'durable URIs will always generate with links pointing at the '. | ||||
'production environment. If unset, defaults to `%s`. Most '. | 'production environment. If unset, defaults to `%s`. Most '. | ||||
'installs do not need to set this option.', | 'installs do not need to set this option.', | ||||
PlatformSymbols::getPlatformServerName(), | PlatformSymbols::getPlatformServerName(), | ||||
'phabricator.base-uri')) | 'phabricator.base-uri')) | ||||
->addExample('http://devtools.example.com/', pht('Valid Setting')), | ->addExample('http://devtools.example.com/', pht('Valid Setting')), | ||||
$this->newOption('phabricator.allowed-uris', 'list<string>', array()) | $this->newOption('phabricator.allowed-uris', 'list<string>', array()) | ||||
▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines |