Merge branch 'MDL-76483-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE
This commit is contained in:
@@ -646,6 +646,9 @@ function generate_uuid() {
|
||||
*/
|
||||
function get_docs_url($path = null) {
|
||||
global $CFG;
|
||||
if ($path === null) {
|
||||
$path = '';
|
||||
}
|
||||
|
||||
// Absolute URLs are used unmodified.
|
||||
if (substr($path, 0, 7) === 'http://' || substr($path, 0, 8) === 'https://') {
|
||||
|
||||
Reference in New Issue
Block a user