Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103271929
PhabricatorCelerityApplication.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 28, 17:54
Size
720 B
Mime Type
text/x-php
Expires
Sun, Mar 2, 17:54 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
24516726
Attached To
rPH Phabricator
PhabricatorCelerityApplication.php
View Options
<?php
final
class
PhabricatorCelerityApplication
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Celerity'
);
}
public
function
canUninstall
()
{
return
false
;
}
public
function
isUnlisted
()
{
return
true
;
}
public
function
getRoutes
()
{
$extensions
=
CelerityResourceController
::
getSupportedResourceTypes
();
$extensions
=
array_keys
(
$extensions
);
$extensions
=
implode
(
'|'
,
$extensions
);
return
array
(
'/res/'
=>
array
(
'(?:(?P<mtime>[0-9]+)T/)?'
.
'(?P<library>[^/]+)/'
.
'(?P<hash>[a-f0-9]{8})/'
.
'(?P<path>.+
\.
(?:'
.
$extensions
.
'))'
=>
'CelerityPhabricatorResourceController'
,
),
);
}
}
Event Timeline
Log In to Comment