From 6e7c15537353cc2377da63c3f9078502bfa14682 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Mon, 21 Sep 2015 13:57:41 +0200 Subject: Use pfSense 2.1.x compatible boot check --- config/autoconfigbackup/autoconfigbackup.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index ebd9dc08..abfe1a28 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -163,7 +163,11 @@ function upload_config($reasonm = "") { global $config, $g, $input_errors; // Do nothing when booting - if (platform_booting()) { + if (function_exists("platform_booting")) { + if (platform_booting()) { + return; + } + } elseif ($g['booting']) { return; } -- cgit v1.2.3