Project

General

Profile

Revision c169e7c4

Added by Assos Assos over 10 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/advanced_forum/includes/style.inc
412 412
        // style, look for the style specific CSS file first in the active
413 413
        // theme and then in the style directory.
414 414
        foreach ($lineage AS $key => $path) {
415
          $css_file = "/advanced-forum.$key.$css_type";
415
          $css_file = "advanced-forum.$key.$css_type";
416 416
          if (file_exists("$theme_path/$css_file")) {
417 417
            // If the style specific file is in the theme, use that.
418 418
            drupal_add_css("$theme_path/$css_file");
419 419
          }
420 420
          elseif (file_exists("$path/$css_file")) {
421 421
            // Otherwise look in the style for it.
422
            drupal_add_css("$path" . "$css_file");
422
            drupal_add_css("$path/$css_file");
423 423
          }
424 424
        }
425 425
      }

Also available in: Unified diff