Ignore:
Timestamp:
May 25, 2010, 9:16:24 PM (11 years ago)
Author:
teymour
Message:

Ajout de la date de mise à jour dans le nom du fichier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/api/actions/actions.class.php

    r1198 r1199  
    9494    $this->champ = 'depute';
    9595    $this->breakline = '';
    96 
    97     $this->templatize($request, 'nosdeputes.fr_'.$slug);
     96    $date = $depute->updated_at.'';
     97    $date = preg_replace('/[- :]/', '', $date);
     98    $this->templatize($request, 'nosdeputes.fr_'.'_'.$slug.'_'.$date);
    9899  }
    99100
Note: See TracChangeset for help on using the changeset viewer.