summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 3a3e81cf8..dae26aa94 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -449,9 +449,7 @@ function list_themes($refresh = FALSE) {
foreach ($themes as $theme) {
foreach ($theme->info['stylesheets'] as $media => $stylesheets) {
foreach ($stylesheets as $stylesheet => $path) {
- if (file_exists($path)) {
- $theme->stylesheets[$media][$stylesheet] = $path;
- }
+ $theme->stylesheets[$media][$stylesheet] = $path;
}
}
foreach ($theme->info['scripts'] as $script => $path) {