From: toyomoyo Date: Mon, 1 May 2006 03:19:13 +0000 (+0000) Subject: replacing hardcoded url with $CFG->wwwroot X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5a50c2b2f470fe65d36bb5aacbeaa7ae303f9328;p=moodle.git replacing hardcoded url with $CFG->wwwroot --- diff --git a/blog/header.php b/blog/header.php index 518dd107a1..4f246c192e 100755 --- a/blog/header.php +++ b/blog/header.php @@ -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