Fix variables should be passed by reference
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
e1f018838e
commit
e3a57c1f07
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue