Changeset 3901 for extensions


Ignore:
Timestamp:
Sep 22, 2009, 10:39:54 PM (15 years ago)
Author:
tiico
Message:

fix bug 1166

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/generate_rss.php

    r3895 r3901  
    461461                                else
    462462                                {
    463                                         if ($plugins_SecureImage_only)  // Plugin secureimage active mais configuration compatibilite piclens-secureimage desactivee
    464                                         {
    465                                                 $path=get_thumbnail_location($row);
    466                                                 $thumbnail_url = ( url_is_remote($path) ? $path : embellish_url($obj->root_site_piclens.$path) );
    467                                         }
    468                                         else    // Plugin secureimage desactive
    469                                         {
    470                                                 $thumbnail_url = embellish_url($obj->root_site_piclens.get_thumbnail_location($row));
    471                                         }
     463                    $path=get_thumbnail_location($row);
     464                    $thumbnail_url = ( url_is_remote($path) ? $path : embellish_url($obj->root_site_piclens.$path) );
    472465                                }       
    473466
     
    475468                                {
    476469                                        case 1 : // miniature
    477                                                 if ($plugins_SecureImage_only)  // Plugin secureimage active mais configuration compatibilite piclens-secureimage desactivee
    478                                                 {
    479                                                         $path=get_thumbnail_location($row);
    480                                                         $content_url = ( url_is_remote($path) ? $path : embellish_url($obj->root_site_piclens.$path) );
    481                                                 }
    482                                                 else    // Plugin secureimage desactive
    483                                                 {
    484                                                         $content_url = embellish_url($obj->root_site_piclens.get_thumbnail_location($row));;
    485                                                 }
     470                        $path=get_thumbnail_location($row);
     471                        $content_url = ( url_is_remote($path) ? $path : embellish_url($obj->root_site_piclens.$path) );
    486472                                                break;
    487473                                        case 2 : // normal
Note: See TracChangeset for help on using the changeset viewer.