Ignore:
Timestamp:
Jul 21, 2009, 7:21:52 PM (15 years ago)
Author:
tiico
Message:

Change url for feed with complete path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/modules/piclenswall/main.inc.php

    r3613 r3655  
    1717  if( empty($page['category']))
    1818  {
    19     $rssfeed = get_root_url().PICLENS_PATH.'piclenswall-rss.php?/categories';
     19    $rssfeed = $obj->root_site_piclens.PICLENS_PATH.'piclenswall-rss.php?/categories';
    2020  }
    2121  else
     
    2626                        if (@$obj->my_config['piclens_wall_specif'] == 'common') // pas de specificites 3DWall : utilisation des parametres piclens
    2727      {
    28                                 $rssfeed = get_root_url().PICLENS_PATH.'piclens-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']);
     28                                $rssfeed = $obj->root_site_piclens.PICLENS_PATH.'piclens-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']);
    2929      }
    3030                        elseif (@in_array($page['category']['id'], $obj->my_config['piclens_wall_categories']))
    3131                        {
    3232                                //  categorie pour laquelle le mur est parametre.
    33                                 $rssfeed = get_root_url().PICLENS_PATH.'piclenswall-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']);
     33                                $rssfeed = $obj->root_site_piclens.PICLENS_PATH.'piclenswall-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']);
    3434                        }
    3535                }
Note: See TracChangeset for help on using the changeset viewer.