Page MenuHomestyx hydra

CelerityPhabricatorResources.php
No OneTemporary

CelerityPhabricatorResources.php

<?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');
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 30, 11:00 PM (10 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
429949
Default Alt Text
CelerityPhabricatorResources.php (657 B)

Event Timeline