summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 22:35:27 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 22:35:27 +0300
commit211f699aa0c4211e4ee8a02446d51b9811d0c28c (patch)
tree1335af2487e9668d24db1dace41bdf46f1c10763 /index.php
parent383f4ca04af8c7a1ff4f8be5a488f6799e0e0d37 (diff)
migrate the rest into Config::
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 8ba401c2d..73fccc3ea 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,6 @@
get_include_path());
require_once "autoload.php";
-
require_once "sessions.php";
require_once "functions.php";
require_once "sanity_check.php";
@@ -44,8 +43,8 @@
}
} ?>
- <?php if (theme_exists(LOCAL_OVERRIDE_STYLESHEET)) {
- echo stylesheet_tag(get_theme_path(LOCAL_OVERRIDE_STYLESHEET));
+ <?php if (theme_exists(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET))) {
+ echo stylesheet_tag(get_theme_path(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET)));
} ?>
<script type="text/javascript">