Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1899 → Rev 1900

/trunk/widget/modules/photo/Photo.php
176,8 → 176,8
$item['eflore_url'] = $item['lien'] ;
}
// Récupération du GUID
if (preg_match('/appli:cel-img:([0-9]+)[^.]+\.jpg$/', $entree->guid, $match)) {
// Récupération du GUID - aaaaah c'est cracra si on change la config yatoukipett !! Satan is in this code !!!
if (preg_match($this->config['photo']['motif_guid'], $entree->guid, $match)) {
$item['guid'] = (int) $match[1];
} else {
$item['guid'] = $entree->guid;