summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-22 16:22:44 +0300
committerAndrew Dolgov <[email protected]>2020-02-22 16:22:44 +0300
commit4ab3854aede3882779138d91594b588e1a38c70e (patch)
treefed3e75f57af7365fee88325c8ffd7e3e221c203 /include
parent84b847074ef654a0ab5e49a3f33825e8b6d6c7c8 (diff)
don't generate default.css, replace with themes/light.css as a default root CSS file
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
-rwxr-xr-xinclude/sanity_check.php2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/functions.php b/include/functions.php
index 411ba3995..596c2903c 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1753,9 +1753,6 @@
}
function get_theme_path($theme) {
- if ($theme == "default.php")
- return "css/default.css";
-
$check = "themes/$theme";
if (file_exists($check)) return $check;
diff --git a/include/sanity_check.php b/include/sanity_check.php
index b1b4571b2..3998416f5 100755
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -207,7 +207,7 @@
<head>
<title>Startup failed</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link rel="stylesheet" type="text/css" href="css/default.css">
+ <link rel="stylesheet" type="text/css" href="themes/light.css">
</head>
<body class='sanity_failed claro ttrss_utility'>
<div class="content">