From 00b97dee82cadd6bcc6e3a58eca0d133ae596023 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 5 Apr 2012 20:23:10 +0000 Subject: Reread config after doing footshooting --- etc/inc/upgrade_config.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 8e5c749..0eee712 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2651,7 +2651,8 @@ function upgrade_080_to_081() { file_put_contents("{$g['tmp_path']}/vipreplace", "s/vip{$vip['vhid']}/{$realif}_vip{$vip['vhid']}/g\n"); } mwexec("/bin/sh -I \"\" -f {$g['tmp_path']}/vipreplace /conf/config.xml"); - @unlink("{$g['tmp_path']}/config.cache"); + require_once("config.lib.inc"); + $config = parse_config(true); } } -- cgit v1.1