case the chosen theme doesn't exist any more
$bodytags .= ' class="'.$pageclass.'" id="'.$pageid.'"';
ob_start();
- include ($CFG->themedir.current_theme().'/header.html');
+ include($CFG->header);
$output = ob_get_contents();
ob_end_clean();
/// Include the actual footer file
ob_start();
- include ($CFG->themedir.current_theme().'/footer.html');
+ include($CFG->footer);
$output = ob_get_contents();
ob_end_clean();