diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/site/update_basic.php | 1 | ||||
-rw-r--r-- | actions/systemsettings/install.php | 4 | ||||
-rw-r--r-- | actions/usersettings/save.php | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 4a3fd775c..12d74a535 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -17,6 +17,7 @@ // block non-admin users admin_gatekeeper(); + action_gatekeeper(); if (get_input('settings') == 'go') {
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index 061a2404e..4629d010d 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -11,7 +11,9 @@ * @author Curverider Ltd
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
- */
+ */ + + if (is_installed()) gatekeeper(); if (get_input('settings') == 'go') {
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php index 6322369bc..5b1b9f736 100644 --- a/actions/usersettings/save.php +++ b/actions/usersettings/save.php @@ -12,7 +12,8 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
global $CONFIG;
- gatekeeper();
+ gatekeeper(); + action_gatekeeper();
trigger_plugin_hook('usersettings:save','user');
|