aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/settings.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/actions/settings.php b/actions/settings.php
new file mode 100644
index 000000000..2c043426f
--- /dev/null
+++ b/actions/settings.php
@@ -0,0 +1,23 @@
+<?php
+ /**
+ * Save settings of Tidypics
+ *
+ */
+
+ global $CONFIG;
+
+ gatekeeper();
+ action_gatekeeper();
+
+ $params = get_input('params');
+
+ foreach ($params as $k => $v) {
+
+ error_log("$k : $v");
+
+ }
+
+ system_message(elgg_echo('tidypics:settings:save:ok'));
+
+ forward($_SERVER['HTTP_REFERER']);
+?>