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.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 41b052f6e..63700cc0c 100755 --- a/update.php +++ b/update.php @@ -9,7 +9,8 @@ require_once "autoload.php"; require_once "functions.php"; - require_once "sanity_check.php"; + + Config::sanity_check(); function make_stampfile($filename) { $fp = fopen(Config::get(Config::LOCK_DIRECTORY) . "/$filename", "w"); -- cgit v1.2.3