Changeset 11121 for branches/2.2


Ignore:
Timestamp:
May 31, 2011, 12:22:47 AM (13 years ago)
Author:
plg
Message:

bug 2316 fixed: remote urls on local CSS files should not be modified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/include/template.class.php

    r10655 r11121  
    13511351      foreach ($matches as $match)
    13521352      {
    1353         if ( !url_is_remote($match[1]) || $match[1][0] != '/')
     1353        if ( !url_is_remote($match[1]) && $match[1][0] != '/')
    13541354        {
    13551355          $relative = dirname($file) . "/$match[1]";
Note: See TracChangeset for help on using the changeset viewer.