Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15384651
D7588.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D7588.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mar 15 2025, 8:29 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7703362
Default Alt Text
D7588.diff (2 KB)
Attached To
Mode
D7588: Add a new config option that allows the user to set the application title
Attached
Detach File
Event Timeline
Log In to Comment