diff options
| author | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 | 
|---|---|---|
| committer | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 | 
| commit | a8e625f47a8b197f6cb89b67f37ef5d0a756619d (patch) | |
| tree | 1f1df7f065d8c2961d33eb58d2ff484d5dfe4108 /browse.php | |
| parent | de84bf42063eae58bd5832d125c6445b5315baaf (diff) | |
| download | elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2 | |
Removed all $CONFIG and pg/ appearitions.
Diffstat (limited to 'browse.php')
| -rw-r--r-- | browse.php | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/browse.php b/browse.php index c8314b9c6..2392ef19a 100644 --- a/browse.php +++ b/browse.php @@ -8,8 +8,6 @@  * @author Prateek Choudhary <synapticfield@gmail.com>  * @copyright Prateek Choudhary  */ -  -global $CONFIG;  require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -33,7 +31,7 @@ if(isset($container_guid) && !empty($container_guid)) {  	}  } -elgg_push_breadcrumb(elgg_echo('videolist:find'), $CONFIG->wwwroot."mod/videolist/all.php"); +elgg_push_breadcrumb(elgg_echo('videolist:find'), elgg_get_site_url()."videolist/all/");  elgg_push_breadcrumb(elgg_echo("videolist:browsemenu"));  $title = elgg_echo("videolist:browsemenu"); @@ -48,4 +46,4 @@ $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments))  $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); | 
