Citation de code source en PHPn° 184
01 Juillet, 2014 à 05:21
foreach( $d->params->sources as &$source )
{
$src = current(explode( "/", is_array( $source->source ) ? $source->source[1] : $source->source ));
foreach( $source->fields as $k => &$field )
$field->source = $m->source->fields[$k];
}