Project

General

Profile

« Previous | Next » 

Revision c4104141

Added by Chris Buechler over 9 years ago

add config upgrade code for lighty->nginx logging

View differences:

src/etc/inc/globals.inc
99 99
	"disablecrashreporter" => false,
100 100
	"crashreporterurl" => "https://crashreporter.pfsense.org/crash_reporter.php",
101 101
	"debug" => false,
102
	"latest_config" => "13.4",
102
	"latest_config" => "13.5",
103 103
	"nopkg_platforms" => array("cdrom"),
104 104
	"minimum_ram_warning" => "101",
105 105
	"minimum_ram_warning_text" => "128 MB",
src/etc/inc/upgrade_config.inc
4260 4260

  
4261 4261
	$config['system']['webgui']['dashboardcolumns'] = $maxcols % 10;
4262 4262
}
4263

  
4264
function upgrade_134_to_135() {
4265
	global $config;
4266

  
4267
	if (isset($config['syslog']['nologlighttpd'])) {
4268
		unset($config['syslog']['nologlighttpd']);
4269
		$config['syslog']['nolognginx'] = true;
4270
	}
4271
}
4263 4272
?>

Also available in: Unified diff