diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/php/web/ClientScriptManager.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/php/web/ClientScriptManager.php b/app/php/web/ClientScriptManager.php index 64cfa76..4b54be1 100644 --- a/app/php/web/ClientScriptManager.php +++ b/app/php/web/ClientScriptManager.php @@ -254,9 +254,7 @@ class ClientScriptManager extends TClientScriptManager { $scriptUrls = []; $newScripts = []; foreach ($registeredScripts as $registeredScript) { - $renderedScriptUrl = $this->_getRenderedScriptUrl( - $registeredScript - ); + $renderedScriptUrl = $this->_getRenderedScriptUrl($registeredScript); if ($renderedScriptUrl) { $scriptUrls[] = $renderedScriptUrl; } else { @@ -368,8 +366,10 @@ class ClientScriptManager extends TClientScriptManager { : $url ] = $path; } - $cacheKey = $this->_getFileCollectionCacheKey($paths); - $cacheFile = $this->_getCacheFilePath($cacheKey . '.css', 'styles'); + $cacheFile = $this->_getCacheFilePath( + $this->_getFileCollectionCacheKey($paths) . '.css', + 'styles' + ); $this->_appendRenderedSheets($files, $cacheFile); if (!$this->_isCacheValid($cacheFile, $paths)) { $styleContent = implode( |