From 74568df4ff7b7788991636f6fb2ed62012f85c3b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Sep 2020 09:04:33 +0300 Subject: remove a lot of stuff from global context (functions.php), add a few helper classes instead --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 21f727cb3..e402c1402 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ if (!init_plugins()) return; - login_sequence(); + UserHelper::login_sequence(); header('Content-Type: text/html; charset=utf-8'); @@ -51,7 +51,7 @@ const __csrf_token = ""; - +