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:
parent
a8e247528c
commit
d415641b02
2 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,10 @@ final class PhabricatorXHProfProfileController
|
|||
|
||||
private $phid;
|
||||
|
||||
public function shouldAllowPublic() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
$this->phid = $data['phid'];
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue