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() {