diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-05 02:21:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-05 02:21:38 +0000 |
commit | fb9c1df0b942df39115a9130dfa76e2b3fd33217 (patch) | |
tree | 7dce29a2f9eebf607d9106fa2f1aed6fbe0d8b61 /includes | |
parent | 8e51c3b2a5796737583b59a4970812ff66755b38 (diff) | |
download | brdo-fb9c1df0b942df39115a9130dfa76e2b3fd33217.tar.gz brdo-fb9c1df0b942df39115a9130dfa76e2b3fd33217.tar.bz2 |
- Patch #328357 by bleen18, sun, skilip, alanburke, jenlampton, manarth, fgm, tstoeckler: allow module .info files to add CSS/JS.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index adbffbe92..9a2cc0fe0 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -604,9 +604,7 @@ function list_themes($refresh = FALSE) { } } foreach ($theme->info['scripts'] as $script => $path) { - if (file_exists($path)) { - $theme->scripts[$script] = $path; - } + $theme->scripts[$script] = $path; } if (isset($theme->info['engine'])) { $theme->engine = $theme->info['engine']; @@ -2274,6 +2272,7 @@ function template_preprocess_page(&$variables) { $variables['theme_hook_suggestions'] = $suggestions; } } + /** * Process variables for html.tpl.php * |