mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Rebrand: Change Server name
Summary: Use the name "Phorge" as the defined platform. Also prepare to rename the core library "phorge" rather then "phabricator" - see next diff. T15006 Test Plan: Deployed change, tooltip for "Config" shows "Configure Phorge" Reviewers: O1 Blessed Committers, speck Reviewed By: O1 Blessed Committers, speck Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew Maniphest Tasks: T15006 Differential Revision: https://we.phorge.it/D25046
This commit is contained in:
parent
9b4bcc8349
commit
0c0b9644a6
3 changed files with 6 additions and 1 deletions
|
@ -460,6 +460,7 @@ final class PhutilErrorHandler extends Phobject {
|
|||
// For these libraries, the effective root is one level up.
|
||||
switch ($library) {
|
||||
case 'arcanist':
|
||||
case 'phorge':
|
||||
case 'phabricator':
|
||||
$root = dirname($root);
|
||||
break;
|
||||
|
|
|
@ -191,6 +191,10 @@ final class PhutilBootloader {
|
|||
}
|
||||
|
||||
public function getLibraryRoot($name) {
|
||||
if ($name === 'phabricator') {
|
||||
// TODO warning
|
||||
$name = 'phorge';
|
||||
}
|
||||
if (empty($this->registeredLibraries[$name])) {
|
||||
throw new PhutilBootloaderException(
|
||||
"The phutil library '{$name}' has not been loaded!");
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PlatformSymbols
|
|||
}
|
||||
|
||||
public static function getPlatformServerName() {
|
||||
return 'Phabricator';
|
||||
return 'Phorge';
|
||||
}
|
||||
|
||||
public static function getProductNames() {
|
||||
|
|
Loading…
Reference in a new issue