mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-61394 core_scss: Null coalesce path to sassc setting
This commit is contained in:
parent
2b32b1fea8
commit
40e53599b3
@ -111,7 +111,7 @@ class core_scss extends \Leafo\ScssPhp\Compiler {
|
||||
public function compile($code, $path = null) {
|
||||
global $CFG;
|
||||
|
||||
$pathtosassc = trim($CFG->pathtosassc);
|
||||
$pathtosassc = trim($CFG->pathtosassc ?? '');
|
||||
|
||||
if (!empty($pathtosassc) && is_executable($pathtosassc) && !is_dir($pathtosassc)) {
|
||||
$process = proc_open(
|
||||
|
Loading…
x
Reference in New Issue
Block a user