]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
implement cache-busting for default theme.css
[tt-rss.git] / include / functions2.php
index ff4ac2c771f358fec01c23b630889a188f9d7154..d06a7a71003db30a945380519373c60d3b5bf285 100644 (file)
                        num_comments,
                        tag_cache,
                        author,
+                       guid,
                        orig_feed_id,
                        note
                        FROM ttrss_entries,ttrss_user_entries
        }
 
        function theme_valid($theme) {
-               if ($theme == "default.css" || $theme == "night.css") return true; // needed for array_filter
+               if ($theme == "default.php" || $theme == "night.css") return true; // needed for array_filter
                $file = "themes/" . basename($theme);
 
                if (!file_exists($file)) $file = "themes.local/" . basename($theme);