get_record('expcontent', array('id'=> $cm->instance), '*', MUST_EXIST); $expconfig = get_config('mod_expcontent'); $baseurl = $expconfig->baseurl; if ($baseurl[-1] != "/") $baseurl += "/"; ?>