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 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0218db5e1..51bd99e5e 100644 --- a/index.php +++ b/index.php @@ -13,14 +13,14 @@ require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; - require_once "sanity_check.php"; + + Config::sanity_check(); if (!init_plugins()) return; UserHelper::login_sequence(); header('Content-Type: text/html; charset=utf-8'); - ?> -- cgit v1.2.3