vfremaux / moodle-local_vmoodle

A shifted version of VMoodle starting from Moodle 2.8 ahead
3 stars 2 forks source link

mainhostprefix #8

Open r6in opened 1 year ago

r6in commented 1 year ago

I'm interested in this config value in moodle/config.php

/// VMOODLE Hack $CFG->mainhostprefix = 'http://someprefixthatmatchs';

I have my main moodle instance setup as https://master.domain.com I've tried putting 'master', 'domain.com' in there and 'http://' and even '*.domain.com'.

Obviously these are examples.

Also this is based on a standard working config.php, does this file need to be stripped back in a specific way, any examples available?

Any suggestions please?