From adae1958a95d7e801de91d673e927cac348236d9 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Thu, 10 Mar 2011 22:05:49 +0000 Subject: Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/embed/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/embed/start.php') diff --git a/mod/embed/start.php b/mod/embed/start.php index 1a6cfce94..f5d17b18c 100644 --- a/mod/embed/start.php +++ b/mod/embed/start.php @@ -32,7 +32,7 @@ function embed_longtext_menu($hook, $type, $items, $vars) { $items[] = ElggMenuItem::factory(array( 'name' => 'embed', - 'href' => "pg/embed/?{$active_section}internal_name={$vars['name']}", + 'href' => "embed?{$active_section}internal_name={$vars['name']}", 'text' => elgg_echo('media:insert'), 'rel' => 'facebox', 'class' => 'elgg-longtext-control', -- cgit v1.2.3