]> git.pld-linux.org Git - packages/drupal.git/blame - drupal-themedir2.patch
- restore r1.15
[packages/drupal.git] / drupal-themedir2.patch
CommitLineData
f9fd4089
ER
1--- drupal-5.0/includes/theme.inc~ 2007-01-26 13:09:14.801730081 +0200
2+++ drupal-5.0/includes/theme.inc 2007-01-26 13:09:52.242575644 +0200
3@@ -65,6 +65,6 @@
da20b563
ER
4 // File is a template/theme
5 // Load its CSS, if it exists
6- if (file_exists($stylesheet = dirname($themes[$theme]->filename) .'/style.css')) {
7+ if (file_exists('htdocs/' . ($stylesheet = dirname($themes[$theme]->filename) .'/style.css'))) {
f9fd4089 8 drupal_add_css($stylesheet, 'theme');
da20b563
ER
9 }
10 }
This page took 0.41003 seconds and 4 git commands to generate.