]> git.mjollnir.org Git - moodle.git/commitdiff
replacing hardcoded url with $CFG->wwwroot
authortoyomoyo <toyomoyo>
Mon, 1 May 2006 03:19:13 +0000 (03:19 +0000)
committertoyomoyo <toyomoyo>
Mon, 1 May 2006 03:19:13 +0000 (03:19 +0000)
blog/header.php

index 518dd107a1a489a910dc1d1d49c3311fa92b3858..4f246c192e2653596c4c7a3101b7060f47b8798e 100755 (executable)
@@ -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