aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 14:57:09 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 14:57:09 +0000
commit2953dea01d0e6e01688b18627c384fddb637e8e1 (patch)
tree36fbd704919f8074fbd23a72ff814dbea03439f7 /actions/admin
parent7325d9435831b43c91af6eb3d13b259c02b2a439 (diff)
downloadelgg-2953dea01d0e6e01688b18627c384fddb637e8e1.tar.gz
elgg-2953dea01d0e6e01688b18627c384fddb637e8e1.tar.bz2
Added admin gatekeeper
git-svn-id: https://code.elgg.org/elgg/trunk@1026 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index ae48da8f8..e4a688d3b 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -14,6 +14,9 @@
*/
global $CONFIG;
+
+ // block non-admin users
+ admin_gatekeeper();
if (get_input('settings') == 'go') {