2014-03-14 19:53:17 +01:00
|
|
|
<?php
|
|
|
|
|
2014-07-23 02:03:09 +02:00
|
|
|
final class PhabricatorSystemApplication extends PhabricatorApplication {
|
2014-03-14 19:53:17 +01:00
|
|
|
|
2014-07-23 15:52:50 +02:00
|
|
|
public function getName() {
|
|
|
|
return pht('System');
|
|
|
|
}
|
|
|
|
|
2014-03-14 19:53:17 +01:00
|
|
|
public function canUninstall() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function isUnlisted() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/status/' => 'PhabricatorStatusController',
|
|
|
|
'/debug/' => 'PhabricatorDebugController',
|
|
|
|
'/robots.txt' => 'PhabricatorRobotsController',
|
2014-06-20 20:49:41 +02:00
|
|
|
'/services/' => array(
|
|
|
|
'encoding/' => 'PhabricatorSystemSelectEncodingController',
|
|
|
|
'highlight/' => 'PhabricatorSystemSelectHighlightController',
|
|
|
|
),
|
2016-04-10 13:26:53 +02:00
|
|
|
'/readonly/' => array(
|
|
|
|
'(?P<reason>[^/]+)/' => 'PhabricatorSystemReadOnlyController',
|
|
|
|
),
|
2014-03-14 19:53:17 +01:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|