summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 14:49:58 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 14:49:58 +0300
commitc96172fa044d847fee237d966a6e75f8be5afa4d (patch)
treecdd79fdea548ab41b642fca12be7634ad8d25d2d /prefs.php
parent5aa05c90e1b979a2dd8985c10a541243e9415c39 (diff)
use constants in get_pref()/set_pref()
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index cc1181ca9..1738bc521 100644
--- a/prefs.php
+++ b/prefs.php
@@ -20,7 +20,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');
}