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. --- new.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'new.php') diff --git a/new.php b/new.php index 169a48fb5..881fba6ff 100644 --- a/new.php +++ b/new.php @@ -9,7 +9,6 @@ * @copyright Prateek Choudhary */ -global $CONFIG; // Render the video upload page // Load Elgg engine require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -39,7 +38,7 @@ if(isset($container_guid) && !empty($container_guid)){ $title = sprintf(elgg_echo("videolist:add")); //set up breadcrumbs -elgg_push_breadcrumb(elgg_echo('videolist:all'), $CONFIG->wwwroot."mod/videolist/all.php"); +elgg_push_breadcrumb(elgg_echo('videolist:all'), elgg_get_site_url()."videolist/all/"); elgg_push_breadcrumb(elgg_echo("videolist:add")); $area1 = elgg_view('navigation/breadcrumbs'); @@ -47,4 +46,4 @@ $area1 .= elgg_view('page_elements/content_header', array('context' => "action", $area2 .= elgg_view("forms/add"); $body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2, $area3); -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); -- cgit v1.2.3