diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
commit | 211f699aa0c4211e4ee8a02446d51b9811d0c28c (patch) | |
tree | 1335af2487e9668d24db1dace41bdf46f1c10763 /index.php | |
parent | 383f4ca04af8c7a1ff4f8be5a488f6799e0e0d37 (diff) |
migrate the rest into Config::
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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"> |