mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Avoid double slash in Celerity path
Summary: Fished from logs, it probably doesn't cause any real problems. Test Plan: Looked at logs. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5350
This commit is contained in:
parent
dc7b25abed
commit
daed35e36c
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ final class CelerityStaticResourceResponse {
|
|||
// the map script). In production, we can assume the map script gets run
|
||||
// after changes, and safely skip this.
|
||||
if (PhabricatorEnv::getEnvConfig('phabricator.developer-mode')) {
|
||||
$root = dirname(phutil_get_library_root('phabricator')).'/webroot/';
|
||||
$root = dirname(phutil_get_library_root('phabricator')).'/webroot';
|
||||
if (isset($resource['disk'])) {
|
||||
$mtime = (int)filemtime($root.$resource['disk']);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue