]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9741: Fixed broken link on editor help page
authorsam_marshall <sam_marshall>
Tue, 8 May 2007 14:57:37 +0000 (14:57 +0000)
committersam_marshall <sam_marshall>
Tue, 8 May 2007 14:57:37 +0000 (14:57 +0000)
lib/form/editorhelp.php

index 2a43afa1723b2699a866b5b25c46625300b4e58c..794e14f5259b7478591570ee004ad9d07ac85175 100644 (file)
@@ -52,7 +52,8 @@ echo '</ul>';
 print_simple_box_end();
 // End of page.
 close_window_button();
-echo '<p align="center"><a href="help.php?file=index.html">'. get_string('helpindex') .'</a></p>';
+global $CFG;
+echo '<p align="center"><a href="'.$CFG->wwwroot.'/help.php?file=index.html">'. get_string('helpindex') .'</a></p>';
 
 $CFG->docroot = '';   // We don't want a doc link here
 print_footer('none');