$PAGE->requires->css() not work;

Re: $PAGE->requires->css() not work;

by Renaat Debleu -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi Chaya,

the path is not correct: __DIR__ . '/style/style.css refers to a relative path.
Use a absolute path using $CFG->dirroot/???/style/style.css

R