From d94bfb36201438a48cbe2c521e28e18232682a51 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 10 Jul 2011 12:57:56 +0000 Subject: admins can turn off flash uploader --- actions/admin/settings.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actions') 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 { -- cgit v1.2.3