aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorSteve Clay <sclay@ufl.edu>2013-12-01 20:41:23 -0500
committerSteve Clay <sclay@ufl.edu>2013-12-01 20:41:23 -0500
commit4ffb40d6b5b9219c2b6964592f58183da6f78962 (patch)
treed1e67236121f1a27637ed64d3774c0060b82f29b /engine/lib/admin.php
parentad8aff634c5c391042484aa9c8129e59faeac093 (diff)
parent003946eff06fcafe60db5894e1ade0abee7314b4 (diff)
downloadelgg-4ffb40d6b5b9219c2b6964592f58183da6f78962.tar.gz
elgg-4ffb40d6b5b9219c2b6964592f58183da6f78962.tar.bz2
Allow regenerating site secret
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 7f82108c0..f36f29668 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -236,6 +236,7 @@ function admin_init() {
elgg_register_action('admin/site/update_advanced', '', 'admin');
elgg_register_action('admin/site/flush_cache', '', 'admin');
elgg_register_action('admin/site/unlock_upgrade', '', 'admin');
+ elgg_register_action('admin/site/regenerate_secret', '', 'admin');
elgg_register_action('admin/menu/save', '', 'admin');
@@ -291,6 +292,7 @@ function admin_init() {
elgg_register_admin_menu_item('configure', 'settings', null, 100);
elgg_register_admin_menu_item('configure', 'basic', 'settings', 10);
elgg_register_admin_menu_item('configure', 'advanced', 'settings', 20);
+ elgg_register_admin_menu_item('configure', 'advanced/site_secret', 'settings', 25);
elgg_register_admin_menu_item('configure', 'menu_items', 'appearance', 30);
elgg_register_admin_menu_item('configure', 'profile_fields', 'appearance', 40);
// default widgets is added via an event handler elgg_default_widgets_init() in widgets.php