summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-09 11:37:26 +0300
committerAndrew Dolgov <[email protected]>2018-12-09 11:37:26 +0300
commit703351c79e86cc6bb357bd40f7dc75a7da1e7a51 (patch)
treeee941bbe31581f607997aa977261b19e37624dc7 /index.php
parentb2c079893bbd783193fd212db435f5e6ebc8b094 (diff)
remove theme supports-version etc checking
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 27f9b4dcc..e7a9f2d73 100644
--- a/index.php
+++ b/index.php
@@ -63,7 +63,7 @@
<?php if ($_SESSION["uid"]) {
$theme = get_pref("USER_CSS_THEME", false, false);
- if ($theme && theme_valid("$theme")) {
+ if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
echo stylesheet_tag("css/default.css");