diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
commit | 7dd19a4cb04803f4d05fcd109b3149c6926b6558 (patch) | |
tree | d0481513061bdc2e3ce16ecb1ad49f81d0ab706f /engine | |
parent | 172bbf136ab45a5c6e4f53f911d9901797bb0020 (diff) | |
download | elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.gz elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.bz2 |
Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), $CONFIG->url, etc.
git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/admin.php | 6 | ||||
-rw-r--r-- | engine/lib/users.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 0f5a4f400..0db58f680 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -61,7 +61,7 @@ function elgg_admin_add_plugin_settings_sidemenu() { if (elgg_view_exists("settings/{$plugin_id}/edit")) { $item = array( 'text' => $info['manifest']['name'], - 'href' => "{$CONFIG->url}pg/admin/plugin_settings/$plugin_id", + 'href' => "pg/admin/plugin_settings/$plugin_id", 'parent_id' => 'admin:plugin_settings' ); @@ -88,9 +88,9 @@ function elgg_add_admin_submenu_item($section_id, $section_title, $parent_id = N // in the admin section parents never have links if ($parent_id) { - $href = "{$CONFIG->url}pg/admin/$parent_id/$section_id"; + $href = "pg/admin/$parent_id/$section_id"; } elseif ($section_id == 'overview') { - $href = "{$CONFIG->url}pg/admin/$section_id"; + $href = "pg/admin/$section_id"; } else { $href = NULL; diff --git a/engine/lib/users.php b/engine/lib/users.php index 6c6e51d4d..7632a4834 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -972,7 +972,7 @@ function elgg_user_resetpassword_page_handler($page) { $form .= elgg_view('input/form', array( 'body' => $form_body, - 'action' => $CONFIG->site->url . 'action/user/passwordreset' + 'action' => 'action/user/passwordreset' )); $title = elgg_echo('resetpassword'); |