From 12bcf826e4f2672afbda85264a970fb4735d97f1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Feb 2021 22:39:20 +0300 Subject: don't include config.php everywhere --- index.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 73fccc3ea..d640c2db9 100644 --- a/index.php +++ b/index.php @@ -1,11 +1,5 @@ Fatal Error: You forgot to copy - config.php-dist to config.php and edit it.\n"; - exit; - } - // we need a separate check here because functions.php might get parsed // incorrectly before 5.3 because of :: syntax. if (version_compare(PHP_VERSION, '7.0.0', '<')) { @@ -20,7 +14,6 @@ require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; - require_once "config.php"; require_once "db-prefs.php"; if (!init_plugins()) return; -- cgit v1.2.3-54-g00ecf