mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42:42 +01:00
3c4f31e4b9
Summary: Ref T13103. Make favicons customizable, and perform dynamic compositing to add marker to indicate things like "unread messages". Test Plan: Viewed favicons in Safari, Firefox and Chrome. With unread messages, saw pink dot composited into icon. Maniphest Tasks: T13103 Differential Revision: https://secure.phabricator.com/D19209
32 lines
759 B
PHP
32 lines
759 B
PHP
<?php
|
|
|
|
final class PhabricatorSystemApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('System');
|
|
}
|
|
|
|
public function canUninstall() {
|
|
return false;
|
|
}
|
|
|
|
public function isUnlisted() {
|
|
return true;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/status/' => 'PhabricatorStatusController',
|
|
'/debug/' => 'PhabricatorDebugController',
|
|
'/robots.txt' => 'PhabricatorRobotsController',
|
|
'/services/' => array(
|
|
'encoding/' => 'PhabricatorSystemSelectEncodingController',
|
|
'highlight/' => 'PhabricatorSystemSelectHighlightController',
|
|
),
|
|
'/readonly/' => array(
|
|
'(?P<reason>[^/]+)/' => 'PhabricatorSystemReadOnlyController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|