Open sayoder opened 3 years ago
Hi there,
A number of files in the Snap theme load other files directly like so:
file_get_contents($CFG->dirroot . '/theme/snap/scss/pre.scss');
Moodle's $CFG->themedir setting allows for an alternate theme directory, so theme_snap might not necessarily live in $CFG->dirroot . 'theme/snap'. This can cause a number of issues for setups that use $CFG->themedir.
$CFG->themedir
theme_snap
$CFG->dirroot . 'theme/snap'
Hi there,
A number of files in the Snap theme load other files directly like so:
Moodle's
$CFG->themedir
setting allows for an alternate theme directory, sotheme_snap
might not necessarily live in$CFG->dirroot . 'theme/snap'
. This can cause a number of issues for setups that use$CFG->themedir
.