From a8e625f47a8b197f6cb89b67f37ef5d0a756619d Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 3 Nov 2011 20:37:47 +0100 Subject: Removed all $CONFIG and pg/ appearitions. --- edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'edit.php') diff --git a/edit.php b/edit.php index b94e49275..cc06dd9c4 100644 --- a/edit.php +++ b/edit.php @@ -26,8 +26,8 @@ if ($video_file = get_entity($video_file)) { if ($video_file->canEdit()) { // set up breadcrumbs - elgg_push_breadcrumb(elgg_echo('videolist:all'), $CONFIG->wwwroot."mod/videolist/all.php"); - elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), $CONFIG->wwwroot."pg/videolist/".$page_owner->username); + elgg_push_breadcrumb(elgg_echo('videolist:all'), elgg_get_site_url()."videolist/all.php"); + elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), elgg_get_site_url()."videolist/".$page_owner->username); elgg_push_breadcrumb(sprintf(elgg_echo("videolist:edit"))); $area1 = elgg_view('navigation/breadcrumbs'); @@ -40,4 +40,4 @@ if ($video_file = get_entity($video_file)) { forward(); } -?> \ No newline at end of file +?> -- cgit v1.2.3