Page MenuHomec4science

PhabricatorCelerityApplication.php
No OneTemporary

File Metadata

Created
Thu, Dec 19, 16:46

PhabricatorCelerityApplication.php

<?php
final class PhabricatorCelerityApplication extends PhabricatorApplication {
public function getName() {
return pht('Celerity');
}
public function canUninstall() {
return false;
}
public function isUnlisted() {
return true;
}
public function getRoutes() {
$extensions = CelerityResourceController::getSupportedResourceTypes();
$extensions = array_keys($extensions);
$extensions = implode('|', $extensions);
return array(
'/res/' => array(
'(?:(?P<mtime>[0-9]+)T/)?'.
'(?:(?P<postprocessor>[^/]+)X/)?'.
'(?P<library>[^/]+)/'.
'(?P<hash>[a-f0-9]{8})/'.
'(?P<path>.+\.(?:'.$extensions.'))'
=> 'CelerityPhabricatorResourceController',
),
);
}
}

Event Timeline