Header and footer should include $CFG->header and $CFG->footer, just in case the chosen theme doesn't exist any more
Header and footer should include $CFG->header and $CFG->footer, just in
case the chosen theme doesn't exist any more

dilawar/moodle