Révision d35fe5fc
Ajouté par Ermal il y a presque 10 ans
etc/inc/config.lib.inc | ||
---|---|---|
488 | 488 |
function write_config($desc="Unknown", $backup = true) { |
489 | 489 |
global $config, $g; |
490 | 490 |
|
491 |
/* TODO: Not sure what this was added for; commenting out |
|
492 |
* for now, since it was preventing config saving. */ |
|
493 |
// $config = parse_config(true, false, false); |
|
494 |
|
|
495 |
/* Comment this check out for now. There aren't any current issues that |
|
496 |
* make this problematic, and it makes users think there is a problem |
|
497 |
* when one doesn't really exist. |
|
498 |
if($g['booting']) |
|
499 |
log_error("WARNING! Configuration written on bootup. This can cause stray openvpn and load balancing items in config.xml"); |
|
500 |
*/ |
|
501 |
|
|
502 | 491 |
if (!empty($_SERVER['REMOTE_ADDR'])) { |
503 | 492 |
if (!session_id()) |
504 | 493 |
@session_start(); |
Formats disponibles : Unified diff
Remove commented out code since long time