Commit e6629d09 authored by Penny Leach's avatar Penny Leach
Browse files

set up theme url in init.php

parent f0e8bfb9
......@@ -96,4 +96,12 @@ catch (Exception $e) {
if (!get_config('theme')) {
// if it's not set, we're probably not installed,
// so set it in $CFG directly rather than the db which doesn't yet exist
$CFG->theme = 'default';
$CFG->themeurl = get_config('wwwroot').'theme/'.get_config('theme').'/static/';
Supports Markdown
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