Skip to content

Commit

Permalink
updated config to fix wwwwroot when manually run scheduled task
Browse files Browse the repository at this point in the history
  • Loading branch information
ubc-tuehoang committed May 3, 2024
1 parent e54da46 commit e3a1850
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ function loadenv($envName, $default = "") {
// If you need both intranet and Internet access please read
// http://docs.moodle.org/en/masquerading

$CFG->wwwroot = loadenv('MOODLE_URL', 'http://example.com/moodle');
//$CFG->wwwroot = loadenv('MOODLE_URL', 'http://example.com/moodle');
//$CFG->wwwroot = 'https://moodle-ubccpd-stg2.apps.ctlt.ubc.ca';
//$CFG->wwwroot = loadenv('MOODLE_URL', 'https://moodle-ubccpd-stg2.apps.ctlt.ubc.ca');
$CFG->wwwroot = loadenv('MOODLE_URL', 'https://elearning.ubccpd.ca');


//=========================================================================
Expand Down

0 comments on commit e3a1850

Please sign in to comment.