diff options
-rwxr-xr-x | lib/private/Template/SCSSCacher.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index d227efce6bb..67f77688163 100755 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -175,7 +175,8 @@ class SCSSCacher { * @return string */ public function getCachedSCSS($appName, $fileName) { - $fileName = array_pop(explode('/', $fileName)); + $tmpfileLoc = explode('/', $fileName); + $fileName = array_pop($tmpfileLoc); $fileName = str_replace('.scss', '.css', $fileName); return substr($this->urlGenerator->linkToRoute('core.Css.getCss', array('fileName' => $fileName, 'appName' => $appName)), 1); |