Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95812556
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
Thu, Dec 19, 12:48
Size
657 B
Mime Type
text/x-php
Expires
Sat, Dec 21, 12:48 (2 d)
Engine
blob
Format
Raw Data
Handle
23062291
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