Debug log fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/2050/head
John Molakvoæ (skjnldsv) 10 years ago committed by Roeland Jago Douma
parent 31f75e50b6
commit cf73e71ff1
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 7
      lib/private/Template/SCSSCacher.php

@ -95,7 +95,12 @@ class SCSSCacher {
$this->logger->error($e, ['app' => 'SCSSPHP']);
return false;
}
return file_put_contents($this->fileCache, $this->rebaseUrls($compiledScss));
if(file_put_contents($this->fileCache, $this->rebaseUrls($compiledScss))) {
$this->logger->debug($root.'/'.$file.' compiled and successfully cached', ['app' => 'SCSSPHP']);
return true;
}
return false;
}
private function rebaseUrls($css) {

Loading…
Cancel
Save