diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 22:39:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 22:39:20 +0300 |
commit | 12bcf826e4f2672afbda85264a970fb4735d97f1 (patch) | |
tree | beaaeb8942d423a183f9d1b39953dd76bf619a81 /index.php | |
parent | 211f699aa0c4211e4ee8a02446d51b9811d0c28c (diff) |
don't include config.php everywhere
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1,11 +1,5 @@ <?php - if (!file_exists("config.php")) { - print "<b>Fatal Error</b>: You forgot to copy - <b>config.php-dist</b> to <b>config.php</b> 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; |