aboutsummaryrefslogtreecommitdiff
path: root/actions/settings.php
blob: 427ca2520893729d819f325ab424cc6ff6653847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
	/**
	 * Save settings of Tidypics
	 * 
	 */

	global $CONFIG;

	gatekeeper();
	action_gatekeeper();
	
	$params = get_input('params');

	foreach ($params as $k => $v) {
		
		error_log("$k : $v");
		
	}
	
	if (get_input('download_link') == true)
		error_log('download link is on');
	if (get_input('tagging') == true)
		error_log('tagging is on');
	
	system_message(elgg_echo('tidypics:settings:save:ok'));
	
	forward($_SERVER['HTTP_REFERER']);
?>