Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/env/PhabricatorEnv.php
Show First 20 Lines • Show All 489 Lines • ▼ Show 20 Lines | /* -( Reading Configuration )---------------------------------------------- */ | ||||
public static function getDoclink($resource, $type = 'article') { | public static function getDoclink($resource, $type = 'article') { | ||||
$params = array( | $params = array( | ||||
'name' => $resource, | 'name' => $resource, | ||||
'type' => $type, | 'type' => $type, | ||||
'jump' => true, | 'jump' => true, | ||||
); | ); | ||||
$uri = new PhutilURI( | $uri = new PhutilURI( | ||||
'https://secure.phabricator.com/diviner/find/', | 'https://we.phorge.it/diviner/find/', | ||||
$params); | $params); | ||||
return phutil_string_cast($uri); | return phutil_string_cast($uri); | ||||
} | } | ||||
/** | /** | ||||
* Build a concrete object from a configuration key. | * Build a concrete object from a configuration key. | ||||
▲ Show 20 Lines • Show All 484 Lines • Show Last 20 Lines |