$denom, 'type' => $type, 'code' => $code, 'rechet' => $rechet, 'ape' => $ape, ); $url = bdf_lien_module($module, $service, $req, $rech); if($module=='07'){ $filename = false; } else { $filename = PATH_SITE.'/cache/bdf/'. 'bdf_'.$service.'_'.$req.'_'.$module.'.html'; } //@todo : Ajouter timeover if($filename!==false && file_exists($filename)) { $content = file_get_contents($filename); } else { $content = trim(bdf_loadpage($url)); if( !empty($content) && $filename!==false ) { file_put_contents($filename, $content); } } } return $content; } ?>