Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 185 | Rev 210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 185 Rev 207
Line 65... Line 65...
65
    	
65
    	
66
    	if(!file_exists(Config::get('dossier_images_especes').'/'.$nom_sci_formate.'.txt')) {
66
    	if(!file_exists(Config::get('dossier_images_especes').'/'.$nom_sci_formate.'.txt')) {
67
    		$credit = '';
67
    		$credit = '';
68
       	} else {
68
       	} else {
-
 
69
       		$credit = file_get_contents(Config::get('dossier_images_especes').'/'.$nom_sci_formate.'.txt');
69
       		$credit = file_get_contents(Config::get('dossier_images_especes').'/'.$nom_sci_formate.'.txt');
70
       		$credit = htmlentities($credit);
Line 70... Line 71...
70
       	}
71
       	}
71
       	
72
       	
72
       	if(trim($credit) != '') {
73
       	if(trim($credit) != '') {