Begin moving Phabricator configuration into PHP
Summary: Ref T2255. Ref T2221. Lay the groundwork to move configuration into PHP, so we can show descriptions in the web UI, do typechecking, disable application options when an application is uninstalled, etc.
Test Plan:
{F28421}
{F28420}
{F28422}
Reviewers: codeblock, btrahan, vrana
Reviewed By: codeblock
CC: aran
Maniphest Tasks: T2221, T2255
Differential Revision: https://secure.phabricator.com/D4306
This commit is contained in:
@@ -10,7 +10,9 @@ abstract class PhabricatorConfigController extends PhabricatorController {
|
||||
$user = $this->getRequest()->getUser();
|
||||
|
||||
$nav = new AphrontSideNavFilterView();
|
||||
$nav->setBaseURI(new PhutilURI($this->getApplicationURI('filter/')));
|
||||
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
|
||||
$nav->addFilter('/', pht('Configuration'));
|
||||
$nav->addFilter('issue/', pht('Setup Issues'));
|
||||
|
||||
return $nav;
|
||||
}
|
||||
@@ -19,11 +21,6 @@ abstract class PhabricatorConfigController extends PhabricatorController {
|
||||
return $this->buildSideNavView(null, true)->getMenu();
|
||||
}
|
||||
|
||||
public function buildApplicationCrumbs() {
|
||||
$crumbs = parent::buildApplicationCrumbs();
|
||||
return $crumbs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Properly format a JSON value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user