diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2020-11-30 15:53:32 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2020-11-30 15:53:32 +0300 |
| commit | 81c52b4b1e73bcc44cbe93fa926036277a961208 (patch) | |
| tree | 9f0de5a34f470df55f63a4bb233424bf71ed03c3 /prefs.php | |
| parent | 8089fcc7622590dc93d427532ec35f3644214ed0 (diff) | |
add support for an override stylesheet which applies to all users
Diffstat (limited to 'prefs.php')
| -rw-r--r-- | prefs.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -36,8 +36,11 @@ if ($theme && theme_exists("$theme")) { echo stylesheet_tag(get_theme_path($theme), 'theme_css'); } - } - ?> + } ?> + + <?php if (theme_exists(LOCAL_OVERRIDE_STYLESHEET)) { + echo stylesheet_tag(get_theme_path(LOCAL_OVERRIDE_STYLESHEET)); + } ?> <script type="text/javascript"> const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>"; |