mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-32569 always set $CFG->wwwroot to http://www.example.com/moodle in test environment
This commit is contained in:
parent
d88b0f9c29
commit
fb8e3faba2
@ -145,6 +145,7 @@ if (isset($CFG->prefix) and $CFG->prefix === $CFG->phpunit_prefix) {
|
||||
}
|
||||
|
||||
// override CFG settings if necessary and throw away extra CFG settings
|
||||
$CFG->wwwroot = 'http://www.example.com/moodle';
|
||||
$CFG->dataroot = $CFG->phpunit_dataroot;
|
||||
$CFG->prefix = $CFG->phpunit_prefix;
|
||||
$CFG->dbtype = isset($CFG->phpunit_dbtype) ? $CFG->phpunit_dbtype : $CFG->dbtype;
|
||||
|
Loading…
x
Reference in New Issue
Block a user