aboutsummaryrefslogtreecommitdiff
path: root/new.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-03 20:37:47 +0100
committerSem <sembrestels@riseup.net>2011-11-03 20:37:47 +0100
commita8e625f47a8b197f6cb89b67f37ef5d0a756619d (patch)
tree1f1df7f065d8c2961d33eb58d2ff484d5dfe4108 /new.php
parentde84bf42063eae58bd5832d125c6445b5315baaf (diff)
downloadelgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz
elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2
Removed all $CONFIG and pg/ appearitions.
Diffstat (limited to 'new.php')
-rw-r--r--new.php5
1 files changed, 2 insertions, 3 deletions
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);