Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorMySQLConfigOptions.php
Show All 32 Lines | return array( | ||||
pht('MySQL username to use when connecting to the database.')), | pht('MySQL username to use when connecting to the database.')), | ||||
$this->newOption('mysql.pass', 'string', null) | $this->newOption('mysql.pass', 'string', null) | ||||
->setHidden(true) | ->setHidden(true) | ||||
->setDescription( | ->setDescription( | ||||
pht('MySQL password to use when connecting to the database.')), | pht('MySQL password to use when connecting to the database.')), | ||||
$this->newOption('storage.default-namespace', 'string', 'phabricator') | $this->newOption('storage.default-namespace', 'string', 'phabricator') | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setSummary( | ->setSummary( | ||||
pht('The namespace that Phabricator databases should use.')) | pht('The namespace that %s databases should use.', | ||||
PhabricatorPlatformSite::getName())) | |||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
"Phabricator puts databases in a namespace, which defaults to ". | "%s puts databases in a namespace, which defaults to ". | ||||
"'phabricator' -- for instance, the Differential database is ". | "'phabricator' -- for instance, the Differential database is ". | ||||
"named 'phabricator_differential' by default. You can change ". | "named 'phabricator_differential' by default. You can change ". | ||||
"this namespace if you want. Normally, you should not do this ". | "this namespace if you want. Normally, you should not do this ". | ||||
"unless you are developing Phabricator and using namespaces to ". | "unless you are developing %s and using namespaces to ". | ||||
"separate multiple sandbox datasets.")), | "separate multiple sandbox datasets.", | ||||
PhabricatorPlatformSite::getName(), | |||||
PhabricatorPlatformSite::getName())), | |||||
$this->newOption('mysql.port', 'string', null) | $this->newOption('mysql.port', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setDescription( | ->setDescription( | ||||
pht('MySQL port to use when connecting to the database.')), | pht('MySQL port to use when connecting to the database.')), | ||||
); | ); | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0