summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 22:39:20 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 22:39:20 +0300
commit12bcf826e4f2672afbda85264a970fb4735d97f1 (patch)
treebeaaeb8942d423a183f9d1b39953dd76bf619a81 /include
parent211f699aa0c4211e4ee8a02446d51b9811d0c28c (diff)
don't include config.php everywhere
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
-rw-r--r--include/sessions.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 59c824e43..d42306147 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1,5 +1,4 @@
<?php
- define('EXPECTED_CONFIG_VERSION', 26);
define('SCHEMA_VERSION', 140);
define('LABEL_BASE_INDEX', -1024);
diff --git a/include/sessions.php b/include/sessions.php
index d2fbc6a41..8b7de0ac7 100644
--- a/include/sessions.php
+++ b/include/sessions.php
@@ -3,7 +3,6 @@
// Original from http://www.daniweb.com/code/snippet43.html
- require_once "config.php";
require_once "autoload.php";
require_once "functions.php";
require_once "errorhandler.php";