diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:15:36 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:15:36 +0000 |
commit | 9255088a79a034c3cdf4eb46124504b9dd0c838e (patch) | |
tree | a225048f7475ea8ddb4820b539f8482655d9da8e /mod/diagnostics | |
parent | 323e3ee1dafdf7bdd60607fd960e53957fce770d (diff) | |
download | elgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.gz elgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.bz2 |
Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to elgg_get_site_url()
git-svn-id: http://code.elgg.org/elgg/trunk@7146 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics')
-rw-r--r-- | mod/diagnostics/index.php | 2 | ||||
-rw-r--r-- | mod/diagnostics/start.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php index abc5c2b31..e4620cb95 100644 --- a/mod/diagnostics/index.php +++ b/mod/diagnostics/index.php @@ -24,7 +24,7 @@ $test_body .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>"; if (isset($CONFIG->debug)) { // create a button to run tests - $js = "onclick=\"window.location='{$CONFIG->wwwroot}engine/tests/suite.php'\""; + $js = "onclick=\"window.location='".elgg_get_site_url()."engine/tests/suite.php'\""; $params = array('type' => 'button', 'value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); $test_body .= elgg_view('input/button', $params); } else { diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php index d2fc1b5a1..4711cd9d6 100644 --- a/mod/diagnostics/start.php +++ b/mod/diagnostics/start.php @@ -28,7 +28,7 @@ function diagnostics_pagesetup() { if (get_context() == 'admin' && isadminloggedin()) { global $CONFIG; - add_submenu_item(elgg_echo('diagnostics'), $CONFIG->wwwroot . 'pg/diagnostics/'); + add_submenu_item(elgg_echo('diagnostics'), elgg_get_site_url() . 'pg/diagnostics/'); } } |