Project

General

Profile

« Previous | Next » 

Revision ac24ba53

Added by Scott Ullrich almost 20 years ago

Only backup configurations on non embedded platforms

Ticket #501

View differences:

etc/inc/config.inc
708 708
function write_config($desc="Unknown", $backup = true) {
709 709
	global $config, $g;
710 710

  
711
	if($backup) backup_config();
711
	if($g['platform'] <> "wrap") {
712
		if($backup) backup_config();
713
	}
712 714

  
713 715
	if (time() > mktime(0, 0, 0, 9, 1, 2004))       /* make sure the clock settings are plausible */
714 716
                $changetime = time();

Also available in: Unified diff