Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/configuration/AphrontApplicationConfiguration.php
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | public function getPath() { | ||||
return $this->path; | return $this->path; | ||||
} | } | ||||
/** | /** | ||||
* @phutil-external-symbol class PhabricatorStartup | * @phutil-external-symbol class PhabricatorStartup | ||||
*/ | */ | ||||
public static function runHTTPRequest(AphrontHTTPSink $sink) { | public static function runHTTPRequest(AphrontHTTPSink $sink) { | ||||
if (isset($_SERVER['HTTP_X_PHABRICATOR_SELFCHECK'])) { | if (isset($_SERVER['HTTP_X_SETUP_SELFCHECK'])) { | ||||
$response = self::newSelfCheckResponse(); | $response = self::newSelfCheckResponse(); | ||||
return self::writeResponse($sink, $response); | return self::writeResponse($sink, $response); | ||||
} | } | ||||
PhabricatorStartup::beginStartupPhase('multimeter'); | PhabricatorStartup::beginStartupPhase('multimeter'); | ||||
$multimeter = MultimeterControl::newInstance(); | $multimeter = MultimeterControl::newInstance(); | ||||
$multimeter->setEventContext('<http-init>'); | $multimeter->setEventContext('<http-init>'); | ||||
$multimeter->setEventViewer('<none>'); | $multimeter->setEventViewer('<none>'); | ||||
▲ Show 20 Lines • Show All 785 Lines • Show Last 20 Lines |