Changeset View
Changeset View
Standalone View
Standalone View
src/applications/system/application/PhabricatorSystemApplication.php
<?php | <?php | ||||
final class PhabricatorSystemApplication extends PhabricatorApplication { | final class PhabricatorSystemApplication extends PhabricatorApplication { | ||||
public function getName() { | public function getName() { | ||||
return pht('System'); | return pht('System'); | ||||
} | } | ||||
public function canUninstall() { | public function canUninstall() { | ||||
return false; | return false; | ||||
} | } | ||||
public function isUnlisted() { | public function isUnlisted() { | ||||
return true; | return true; | ||||
} | } | ||||
public function getEventListeners() { | |||||
return array( | |||||
new PhabricatorSystemDebugUIEventListener(), | |||||
); | |||||
} | |||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/status/' => 'PhabricatorStatusController', | '/status/' => 'PhabricatorStatusController', | ||||
'/debug/' => 'PhabricatorDebugController', | '/debug/' => 'PhabricatorDebugController', | ||||
'/robots.txt' => 'PhabricatorRobotsController', | '/robots.txt' => 'PhabricatorRobotsController', | ||||
'/services/' => array( | '/services/' => array( | ||||
'encoding/' => 'PhabricatorSystemSelectEncodingController', | 'encoding/' => 'PhabricatorSystemSelectEncodingController', | ||||
'highlight/' => 'PhabricatorSystemSelectHighlightController', | 'highlight/' => 'PhabricatorSystemSelectHighlightController', | ||||
Show All 10 Lines |