From daed35e36c20fd55b63419c14da40ffb07620258 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 14 Mar 2013 12:03:26 -0700 Subject: [PATCH] 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 --- src/infrastructure/celerity/CelerityStaticResourceResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/celerity/CelerityStaticResourceResponse.php b/src/infrastructure/celerity/CelerityStaticResourceResponse.php index 758d7069e2..287f6644c5 100644 --- a/src/infrastructure/celerity/CelerityStaticResourceResponse.php +++ b/src/infrastructure/celerity/CelerityStaticResourceResponse.php @@ -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 {