Page MenuHomePhorge

D25046.1737726574.diff
No OneTemporary

D25046.1737726574.diff

diff --git a/src/error/PhutilErrorHandler.php b/src/error/PhutilErrorHandler.php
--- a/src/error/PhutilErrorHandler.php
+++ b/src/error/PhutilErrorHandler.php
@@ -460,6 +460,7 @@
// For these libraries, the effective root is one level up.
switch ($library) {
case 'arcanist':
+ case 'phorge':
case 'phabricator':
$root = dirname($root);
break;
diff --git a/src/init/lib/PhutilBootloader.php b/src/init/lib/PhutilBootloader.php
--- a/src/init/lib/PhutilBootloader.php
+++ b/src/init/lib/PhutilBootloader.php
@@ -191,6 +191,10 @@
}
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!");
diff --git a/src/platform/PlatformSymbols.php b/src/platform/PlatformSymbols.php
--- a/src/platform/PlatformSymbols.php
+++ b/src/platform/PlatformSymbols.php
@@ -8,7 +8,7 @@
}
public static function getPlatformServerName() {
- return 'Phabricator';
+ return 'Phorge';
}
public static function getProductNames() {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 13:49 (14 h, 38 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108653
Default Alt Text
D25046.1737726574.diff (1 KB)

Event Timeline