From 8db0d25c53d4d49e6740eed2d7bb24ddecc48849 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Sep 2015 08:35:14 +0200 Subject: sarg - 2.1.x compatible boot check --- config/sarg/sarg.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/sarg') diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc index 446b5f82..85410560 100644 --- a/config/sarg/sarg.inc +++ b/config/sarg/sarg.inc @@ -192,7 +192,11 @@ function sync_package_sarg() { global $config, $g, $sarg_proxy; // detect boot process - if (platform_booting()) { + if (function_exists("platform_booting")) { + if (platform_booting()) { + return; + } + } elseif ($g['booting']) { return; } -- cgit v1.2.3