From 5a50c2b2f470fe65d36bb5aacbeaa7ae303f9328 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Mon, 1 May 2006 03:19:13 +0000 Subject: [PATCH] replacing hardcoded url with $CFG->wwwroot --- blog/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5