aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
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 {