aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enable.php
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/plugins/enable.php
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/plugins/enable.php')
-rw-r--r--actions/admin/plugins/enable.php2
1 files changed, 1 insertions, 1 deletions
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