Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91874385
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 15, 08:56
Size
657 B
Mime Type
text/x-php
Expires
Sun, Nov 17, 08:56 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22340114
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/'
);
}
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