aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-10 12:57:56 +0000
committerCash Costello <cash.costello@gmail.com>2011-07-10 12:57:56 +0000
commitd94bfb36201438a48cbe2c521e28e18232682a51 (patch)
treeefa6b3d3d80fb94d933c88596174fad4bb4d4d5f /actions/admin
parente6f2aab29afb89bc07ff8bd867a9c69f85f1eb21 (diff)
downloadelgg-d94bfb36201438a48cbe2c521e28e18232682a51.tar.gz
elgg-d94bfb36201438a48cbe2c521e28e18232682a51.tar.bz2
admins can turn off flash uploader
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/settings.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/admin/settings.php b/actions/admin/settings.php
index 2c529d950..d3801f655 100644
--- a/actions/admin/settings.php
+++ b/actions/admin/settings.php
@@ -51,6 +51,12 @@ if (is_array(get_input('view_count'))) {
set_plugin_setting('view_count', 'disabled', 'tidypics');
}
+if (is_array(get_input('uploader'))) {
+ set_plugin_setting('uploader', 'enabled', 'tidypics');
+} else {
+ set_plugin_setting('uploader', 'disabled', 'tidypics');
+}
+
if (is_array(get_input('grp_perm_override'))) {
set_plugin_setting('grp_perm_override', 'enabled', 'tidypics');
} else {