replacing hardcoded url with $CFG->wwwroot

This commit is contained in:
toyomoyo
2006-05-01 03:19:13 +00:00
parent 83fb561f0c
commit 5a50c2b2f4
+1 -1
View File
@@ -76,7 +76,7 @@ if (!isset($filtertype)) {
$blogstring = get_string('blogs','blog');
$tagstring = get_string('tag');
if ($ME == 'http://yu.moodle.com/dev/blog/edit.php') { ///we are in edit mode, print editting header
if ($ME == $CFG->wwwroot.'/blog/edit.php') { ///we are in edit mode, print editting header
// first we need to identify the user
if ($editid) { // if we are editting a post