Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101635748
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
Wed, Feb 12, 07:39
Size
534 B
Mime Type
text/x-php
Expires
Fri, Feb 14, 07:39 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24205431
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
;
}
}
Event Timeline
Log In to Comment