]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect...
authorscyrma <scyrma>
Wed, 19 Mar 2008 08:19:31 +0000 (08:19 +0000)
committerscyrma <scyrma>
Wed, 19 Mar 2008 08:19:31 +0000 (08:19 +0000)
lib/weblib.php

index 4e3b9726c339a6143467f62ca256e945f31d70c3..f71cd496294f705e4c44c0d6016f4c3660662ab0 100644 (file)
@@ -6142,6 +6142,7 @@ function redirect($url, $message='', $delay=-1) {
 <?php
     }
 
+    $CFG->docroot = false; // to prevent the link to moodle docs from being displayed on redirect page.
     print_footer('none');
     die;
 }