Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77930761
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
Sat, Aug 17, 07:18
Size
657 B
Mime Type
text/x-php
Expires
Mon, Aug 19, 07:18 (2 d)
Engine
blob
Format
Raw Data
Handle
19948556
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