Skip to content

Malformed URL getting library #176

@aangelinsf

Description

@aangelinsf

Sometime over the weekend Bootswatch API starting returning https: for its urls. In template.php, that breaks the following:
drupal_add_css($base['scheme'] . ":" . $css, 'external');

A workaround for me is:
if (strpos($css, 'http') <> 0) {
drupal_add_css($base['scheme'] . ":" . $css, 'external');
}
else {
drupal_add_css($css, 'external');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions