diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 14:49:58 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 14:49:58 +0300 |
commit | c96172fa044d847fee237d966a6e75f8be5afa4d (patch) | |
tree | cdd79fdea548ab41b642fca12be7634ad8d25d2d /index.php | |
parent | 5aa05c90e1b979a2dd8985c10a541243e9415c39 (diff) |
use constants in get_pref()/set_pref()
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ <meta name="viewport" content="initial-scale=1,width=device-width" /> <?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) { - $theme = get_pref("USER_CSS_THEME"); + $theme = get_pref(Prefs::USER_CSS_THEME); if ($theme && theme_exists("$theme")) { echo stylesheet_tag(get_theme_path($theme), 'theme_css'); } |