Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1170 → Rev 1169

/trunk/modules/popup_galerie/PopupGalerie.php
73,8 → 73,7
private function extraireIdDeUrl($url) {
$matches = array();
$formats = implode("|", $this->formats_possibles);
//preg_match('#cel-img:([0-9]*)('.$formats.')#', $url, $matches);
preg_match('#img:([0-9]*)('.$formats.')#', $url, $matches); // expèrons que ça va marcher
preg_match('#cel-img:([0-9]*)('.$formats.')#', $url, $matches);
return ltrim($matches[1],'0');
}