Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | return $this->getResourceURIMapRules() + array( | ||||
| '/debug/' => 'PhabricatorDebugController', | '/debug/' => 'PhabricatorDebugController', | ||||
| ); | ); | ||||
| } | } | ||||
| protected function getResourceURIMapRules() { | protected function getResourceURIMapRules() { | ||||
| return array( | return array( | ||||
| '/res/' => array( | '/res/' => array( | ||||
| '(?:(?P<mtime>[0-9]+)T/)?'. | '(?:(?P<mtime>[0-9]+)T/)?'. | ||||
| '(?P<package>pkg/)?'. | |||||
| '(?P<hash>[a-f0-9]{8})/'. | '(?P<hash>[a-f0-9]{8})/'. | ||||
| '(?P<path>.+\.(?:css|js|jpg|png|swf|gif))' | '(?P<path>.+\.(?:css|js|jpg|png|swf|gif))' | ||||
| => 'CelerityPhabricatorResourceController', | => 'CelerityPhabricatorResourceController', | ||||
| ), | ), | ||||
| ); | ); | ||||
| } | } | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines | |||||