Closed mudrd8mz closed 8 years ago
if (!empty($wantsurl)) { return $wantsurl; } else { return '/'; }
I found this not expected behaviour if the Moodle is not installed in the root of the web server. It seems it should better be like
return new moodle_url('/');
Good catch!
I found this not expected behaviour if the Moodle is not installed in the root of the web server. It seems it should better be like