Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92693788
CelerityPhabricatorResources.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, Nov 22, 20:30
Size
662 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 20:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22488254
Attached To
rPH Phabricator
CelerityPhabricatorResources.php
View Options
<?php
/**
* Defines Phabricator's static resources.
*/
final
class
CelerityPhabricatorResources
extends
CelerityResourcesOnDisk
{
public
function
getName
()
{
return
'phabricator'
;
}
public
function
getPathToResources
()
{
return
$this
->
getPhabricatorPath
(
'webroot/rsrc/'
);
}
public
function
getPathToMap
()
{
return
$this
->
getPhabricatorPath
(
'resources/celerity/map.php'
);
}
private
function
getPhabricatorPath
(
$to_file
)
{
return
dirname
(
phutil_get_library_root
(
'phabricator'
)).
'/'
.
$to_file
;
}
public
function
getResourcePackages
()
{
return
include
$this
->
getPhabricatorPath
(
'resources/celerity/packages.php'
);
}
}
Event Timeline
Log In to Comment