Problem/Motivation

Dynamic link styleswitcher/css/... is broken when clean URLs are disabled, specifically when they are cannot be enabled for various reasons (for example if apache mod_rewrite is disabled). Because drupal_add_css() thinks that relative paths are actual files which is not true in this case.

Proposed resolution

Explicitly construct absolute URL and add it instead of relative path.

Comments

pingwin4eg created an issue. See original summary.

pingwin4eg’s picture

Assigned: pingwin4eg » Unassigned
Status: Active » Needs review
StatusFileSize
new1.37 KB

  • pingwin4eg committed 6257ab9 on 7.x-2.x
    Issue #2597173 by pingwin4eg: Work out disabled clean URLs
    
pingwin4eg’s picture

Status: Needs review » Fixed

  • pingwin4eg committed 6257ab9 on 6.x-2.x
    Issue #2597173 by pingwin4eg: Work out disabled clean URLs
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.