]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
get_theme_path: fallback to css/default.css if default theme is selected
[tt-rss.git] / include / functions.php
index 54fa2bd9d140c1ab0deceb1285437306c16ea2e2..531653f93236b59c9b4c62a806fb533694269edd 100644 (file)
        }
 
        function get_theme_path($theme) {
+               if ($theme == "default.php")
+                       return "css/default.css";
+
                $check = "themes/$theme";
                if (file_exists($check)) return $check;