summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-01 10:20:21 +0300
committerAndrew Dolgov <[email protected]>2021-03-01 10:20:21 +0300
commit7ef72fe0dc0f360e04e15a46d137a12a518450b9 (patch)
tree747e88a041915b2d80c219cc0e6b88d1cb7a4767 /index.php
parentb05d4e3d9ff2803b28dd68d807b57500f8c3078f (diff)
move startup checks to Config, set a bunch of @deprecated annotations
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
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');
-
?>
<!DOCTYPE html>
<html>