Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95827999
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
Thu, Dec 19, 16:46
Size
763 B
Mime Type
text/x-php
Expires
Sat, Dec 21, 16:46 (2 d)
Engine
blob
Format
Raw Data
Handle
23064502
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<postprocessor>[^/]+)X/)?'
.
'(?P<library>[^/]+)/'
.
'(?P<hash>[a-f0-9]{8})/'
.
'(?P<path>.+
\.
(?:'
.
$extensions
.
'))'
=>
'CelerityPhabricatorResourceController'
,
),
);
}
}
Event Timeline
Log In to Comment