1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-19 11:11:10 +01:00

Allow XHProf to be publicly viewable

Summary: I guess... because PHP? Ref T4830

Test Plan: Log out, see pages.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4830

Differential Revision: https://secure.phabricator.com/D13673
This commit is contained in:
Chad Little 2015-07-22 07:17:18 -07:00
parent a8e247528c
commit d415641b02
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,10 @@ final class PhabricatorXHProfProfileController
private $phid;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->phid = $data['phid'];
}

View file

@ -5,6 +5,10 @@ final class PhabricatorXHProfSampleListController
private $view;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->view = idx($data, 'view', 'all');
}