diff options
Diffstat (limited to 'views/default/settings')
-rw-r--r-- | views/default/settings/system.php | 2 | ||||
-rw-r--r-- | views/default/settings/upgrading.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/settings/system.php b/views/default/settings/system.php index 3b3aaf808..7371ac71f 100644 --- a/views/default/settings/system.php +++ b/views/default/settings/system.php @@ -11,7 +11,7 @@ // Set action appropriately if (!isset($vars['action'])) { - $action = $vars['url'] . "action/systemsettings/save"; + $action = elgg_get_site_url() . "action/systemsettings/save"; } else { $action = $vars['action']; } diff --git a/views/default/settings/upgrading.php b/views/default/settings/upgrading.php index 9f13e4c3f..19bc13879 100644 --- a/views/default/settings/upgrading.php +++ b/views/default/settings/upgrading.php @@ -8,13 +8,13 @@ <html> <head> <title><?php echo elgg_echo('upgrading'); ?></title> - <meta http-equiv="refresh" content="1;url=<?php echo $vars['url']; ?>upgrade.php?upgrade=upgrade"/> + <meta http-equiv="refresh" content="1;url=<?php echo elgg_get_site_url(); ?>upgrade.php?upgrade=upgrade"/> </head> <body bgcolor="white"> <table width="100%" height="100%" border="0" style="margin: 0px; padding: 0px"> <tr> <td width="100%" height="100%" valign="middle" align="center"> - <img src="<?php echo $vars['url']; ?>_graphics/ajax_loader_bw.gif" /> + <img src="<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif" /> </td> </tr> </table> |