aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:41:18 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:41:18 +0000
commit413a573d493ebdd27d86f5947fba621198c0747b (patch)
treed131dad86aa6de56d5f7024b38633ce2012a1c1b /actions/admin
parent85dee194f87649c07c5bb94ef390ae0aea24c8ae (diff)
downloadelgg-413a573d493ebdd27d86f5947fba621198c0747b.tar.gz
elgg-413a573d493ebdd27d86f5947fba621198c0747b.tar.bz2
Forwards to http_referer
git-svn-id: https://code.elgg.org/elgg/trunk@1055 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/plugins/disable.php2
-rw-r--r--actions/admin/plugins/enable.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 92c410e45..ae3139ef1 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -24,6 +24,6 @@
else
system_message(sprintf(elgg_echo('admin:plugins:disable:no'), $plugin));
- header("Location: {$CONFIG->wwwroot}admin/plugins/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 10c8ba7d0..28b0f9f33 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -24,6 +24,6 @@
else
system_message(sprintf(elgg_echo('admin:plugins:enable:no'), $plugin));
- header("Location: {$CONFIG->wwwroot}admin/plugins/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file