@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorFactHomeController
4 extends PhabricatorFactController {
5
6 public function shouldAllowPublic() {
7 return true;
8 }
9
10 public function handleRequest(AphrontRequest $request) {
11 $viewer = $this->getViewer();
12
13 $chart = id(new PhabricatorDemoChartEngine())
14 ->setViewer($viewer)
15 ->newStoredChart();
16
17 return id(new AphrontRedirectResponse())->setURI($chart->getURI());
18 }
19
20}