Include ipsec.inc here otherwise the global is undefined when called when restoring a config in the GUI.

This commit is contained in:
jim-p 2015-12-04 15:39:43 -05:00
parent 3ac0284805
commit 2bfa7dbfb4

View File

@ -3651,6 +3651,7 @@ function upgrade_118_to_119() {
}
function upgrade_119_to_120() {
require_once("ipsec.inc");
global $config, $ipsec_loglevels;
if (!is_array($config['ipsec'])) {