Project

General

Profile

« Previous | Next » 

Revision e85ae672

Added by Renato Botelho over 4 years ago

Fix #204: Add messages to all write_config() calls

View differences:

src/usr/local/www/services_dnsmasq.php
176 176
	}
177 177

  
178 178
	if (!$input_errors) {
179
		write_config();
179
		write_config("DNS Forwarder settings saved");
180 180
		mark_subsystem_dirty('hosts');
181 181
	}
182 182
}
......
186 186
	if ($_POST['type'] == 'host') {
187 187
		if ($a_hosts[$_POST['id']]) {
188 188
			unset($a_hosts[$_POST['id']]);
189
			write_config();
189
			write_config("DNS Forwarder host override deleted");
190 190
			mark_subsystem_dirty('hosts');
191 191
			header("Location: services_dnsmasq.php");
192 192
			exit;
......
194 194
	} elseif ($_POST['type'] == 'doverride') {
195 195
		if ($a_domainOverrides[$_POST['id']]) {
196 196
			unset($a_domainOverrides[$_POST['id']]);
197
			write_config();
197
			write_config("DNS Forwarder domain override deleted");
198 198
			mark_subsystem_dirty('hosts');
199 199
			header("Location: services_dnsmasq.php");
200 200
			exit;

Also available in: Unified diff