MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages

This commit is contained in:
scyrma
2008-03-19 08:23:26 +00:00
parent afd64674a5
commit 88d8fff6d7
+3
View File
@@ -5340,6 +5340,9 @@ function redirect($url, $message='', $delay=-1, $adminroot = '') {
//]]>
</script>
<?php
$CFG->docroot = false; // to prevent the link to moodle docs from being displayed on redirect page.
// fix for MDL-8517, admin pages redirections causes bad xhtml
if ($adminroot) {
admin_externalpage_print_footer($adminroot);