projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579dcca
)
helps wiki find global course
author
moodler
<moodler>
Tue, 3 Aug 2004 04:08:11 +0000
(
04:08
+0000)
committer
moodler
<moodler>
Tue, 3 Aug 2004 04:08:11 +0000
(
04:08
+0000)
lib/weblib.php
patch
|
blob
|
history
diff --git
a/lib/weblib.php
b/lib/weblib.php
index 252285339d1c3e71528fe116ba591d3697c829f9..7ae00d8cb778eed4b239c7affd5cd58612778ec3 100644
(file)
--- a/
lib/weblib.php
+++ b/
lib/weblib.php
@@
-849,7
+849,7
@@
function text_to_html($text, $smiley=true, $para=true, $newlines=true) {
function wiki_to_html($text) {
/// Given Wiki formatted text, make it into XHTML using external function
- global $CFG;
+ global $CFG
, $course
;
require_once("$CFG->libdir/wiki.php");