Project

General

Profile

« Previous | Next » 

Revision c7d48867

Added by Jim Pingle almost 12 years ago

Allow for easier override on $g values if needed.

View differences:

etc/inc/globals.inc
40 40
	return $string;
41 41
}
42 42

  
43
global $g;
43 44
$g = array(
44 45
	"base_packages" => "siproxd", 
45 46
	"event_address" => "unix:///var/run/check_reload_status",
......
147 148
	"net.inet.ip.process_options" => 0
148 149
);
149 150

  
151
/* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */
152
if (file_exists("/etc/inc/globals_override.inc"))
153
	@include("globals_override.inc");
154

  
150 155
$config_parsed = false;
151 156

  
152 157
?>

Also available in: Unified diff