]> git.wh0rd.org Git - tt-rss.git/commitdiff
get_theme_path: fallback to css/default.css if default theme is selected
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 11:17:25 +0000 (14:17 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 11:17:25 +0000 (14:17 +0300)
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;