mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
27 lines
455 B
PHP
27 lines
455 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorConsoleApplication extends PhabricatorApplication {
|
||
|
|
||
|
public function getName() {
|
||
|
return pht('Console');
|
||
|
}
|
||
|
|
||
|
public function canUninstall() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function isUnlisted() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function getRoutes() {
|
||
|
return array(
|
||
|
'/~/' => array(
|
||
|
'' => 'DarkConsoleController',
|
||
|
'data/(?P<key>[^/]+)/' => 'DarkConsoleDataController',
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|