diff --git a/admin/settings/mnet.php b/admin/settings/mnet.php index dfbc57f7855..6e0259733cf 100644 --- a/admin/settings/mnet.php +++ b/admin/settings/mnet.php @@ -29,7 +29,7 @@ if (isset($CFG->mnet_dispatcher_mode) and $CFG->mnet_dispatcher_mode !== 'off') new admin_externalpage( 'mnetpeer' . $host->id, $host->name, - $CFG->wwwroot . '/admin/mnet/peers.php?step=update&hostid=' . $host->id, + $CFG->wwwroot . '/'.$CFG->admin.'/mnet/peers.php?step=update&hostid=' . $host->id, 'moodle/site:config' ) ); diff --git a/admin/tool/profiling/index.php b/admin/tool/profiling/index.php index 197a6944ef2..eebfcd842e6 100644 --- a/admin/tool/profiling/index.php +++ b/admin/tool/profiling/index.php @@ -142,7 +142,7 @@ if (isset($script)) { // The flexitable that will root listings $table = new xhprof_table_sql('profiling-list-table'); - $baseurl = $CFG->wwwroot . '/admin/tool/profiling/index.php'; + $baseurl = $CFG->wwwroot . '/'.$CFG->admin.'/tool/profiling/index.php'; // Check if we are listing all or some URL ones $sqlconditions = ''; diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 550c567ee2d..3afdf57f217 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -398,7 +398,7 @@ class core_renderer extends renderer_base { $link= '' . $txt . ''; $output .= '
' . $link . '
'; } - $output .= '
'.get_string('purgecaches', 'admin').'
'; + $output .= '
'.get_string('purgecaches', 'admin').'
'; } if (!empty($CFG->debugvalidators)) { $output .= '