Changeset 3093


Ignore:
Timestamp:
Jan 30, 2013, 3:59:48 PM (8 years ago)
Author:
nosdeputes
Message:

fix wrong host in url_nosdeputes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/task/dumpAmendementsLoiCsvTask.class.php

    r3091 r3093  
    3333        $parlslugs[] = $s['slug'];
    3434      $a['parlementaires'] = myTools::array2hash($parlslugs, 'parlementaire');
    35       $a['url_nosdeputes'] = url_for('@amendement?loi='.$loi.'&numero='.$a['numero'], 'absolute=true');
     35      $a['url_nosdeputes'] = preg_replace('#http://symfony/#', sfConfig::get('app_base_url'), url_for('@amendement?loi='.$loi.'&numero='.$a['numero'], 'absolute=true'));
    3636      unset($a['num']);
    3737      foreach(array_keys($a) as $key)
Note: See TracChangeset for help on using the changeset viewer.