Skip to content

Commit

Permalink
Allow XHProf to be publicly viewable
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Chad Little committed Jul 22, 2015
1 parent a8e2475 commit d415641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ final class PhabricatorXHProfProfileController

private $phid;

public function shouldAllowPublic() {
return true;
}

public function willProcessRequest(array $data) {
$this->phid = $data['phid'];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit d415641

Please sign in to comment.