Ignore:
Timestamp:
Dec 22, 2011, 10:53:16 PM (13 years ago)
Author:
rvelices
Message:

derivatives fix url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/derivatives/include/derivative.inc.php

    r12779 r12784  
    156156
    157157    $loc = $src->rel_path;
    158     if (substr_compare($loc, '../', 0, 3)==0)
     158    if (substr_compare($loc, './', 0, 2)==0)
     159    {
     160      $loc = substr($loc, 2);
     161    }
     162    elseif (substr_compare($loc, '../', 0, 3)==0)
    159163    {
    160164      $loc = substr($loc, 3);
Note: See TracChangeset for help on using the changeset viewer.