From 7ef72fe0dc0f360e04e15a46d137a12a518450b9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Mar 2021 10:20:21 +0300 Subject: move startup checks to Config, set a bunch of @deprecated annotations --- update_daemon2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update_daemon2.php') diff --git a/update_daemon2.php b/update_daemon2.php index 1e8b1d072..8168c576e 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -10,7 +10,8 @@ require_once "autoload.php"; require_once "functions.php"; - require_once "sanity_check.php"; + + Config::sanity_check(); if (!function_exists('pcntl_fork')) { die("error: This script requires PHP compiled with PCNTL module.\n"); -- cgit v1.2.3