Page MenuHomePhabricator

D7588.diff
No OneTemporary

D7588.diff

Index: conf/default.conf.php
===================================================================
--- conf/default.conf.php
+++ conf/default.conf.php
@@ -10,6 +10,9 @@
// Example: "http://phabricator.example.com/"
'phabricator.base-uri' => null,
+ // The name of this phabricator installation
+ 'phabricator.application-title' => "Phabricator",
+
// If you have multiple environments, provide the production environment URI
// here so that emails, etc., generated in development/sandbox environments
// contain the right links.
Index: src/applications/config/option/PhabricatorCoreConfigOptions.php
===================================================================
--- src/applications/config/option/PhabricatorCoreConfigOptions.php
+++ src/applications/config/option/PhabricatorCoreConfigOptions.php
@@ -35,6 +35,13 @@
"domains, and allows daemons to send emails with links that have ".
"the correct domain."))
->addExample('http://phabricator.example.com/', pht('Valid Setting')),
+ $this->newOption('phabricator.application-title', 'string', "Phabricator")
+ ->setSummary(pht("The name of this phabricator instance."))
+ ->setDescription(
+ pht(
+ "The name of this phabricator instance. It will be displayed on".
+ " the home page."))
+ ->addExample('Your Company\'s Phabricator', pht('Valid Setting')),
$this->newOption('phabricator.production-uri', 'string', null)
->setSummary(
pht("Primary install URI, for multi-environment installs."))
Index: src/applications/directory/controller/PhabricatorDirectoryMainController.php
===================================================================
--- src/applications/directory/controller/PhabricatorDirectoryMainController.php
+++ src/applications/directory/controller/PhabricatorDirectoryMainController.php
@@ -74,10 +74,12 @@
$nav->appendChild($content);
$nav->appendChild(new PhabricatorGlobalUploadTargetView());
+ $title = PhabricatorEnv::getEnvConfig('phabricator.application-title');
+
return $this->buildApplicationPage(
$nav,
array(
- 'title' => 'Phabricator',
+ 'title' => $title,
'device' => true,
));
}

File Metadata

Mime Type
text/plain
Expires
May 9 2024, 9:27 PM (5 w, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6275108
Default Alt Text
D7588.diff (2 KB)

Event Timeline