Commit f28bc424 authored by Richard Mansfield's avatar Richard Mansfield

Use the default theme during upgrades

parent 99fc861e
......@@ -203,6 +203,11 @@ if (!get_config('theme')) {
$CFG->theme = 'default';
}
if (defined('INSTALLER')) {
// Custom themes sometimes cause upgrades to fail.
$CFG->theme = 'default';
}
$CFG->themeurl = get_config('wwwroot') . 'theme/' . get_config('theme') . '/static/';
// Make sure the search plugin is configured
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment