Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 787 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 787 Rev 795
Line 231... Line 231...
231
	
231
	
232
	private function formaterCarteVide() {
232
	private function formaterCarteVide() {
233
		$this->cheminCartesBase = Config::get('Cartes.chemin');
233
		$this->cheminCartesBase = Config::get('Cartes.chemin');
234
		$dest_map['vide'] = 'vide_'.$this->info['src_map'];
234
		$dest_map['vide'] = 'vide_'.$this->info['src_map'];
235
		$img['vide'] = imagecreatefrompng($this->cheminCartesBase.$this->info['src_map']);
235
		$img['vide'] = imagecreatefrompng($this->cheminCartesBase.$this->info['src_map']);
236
		imagepng($img['vide'], Config::get('cache.stockageChemin').$dest_map['vide'], 9);
236
		imagepng($img['vide'], Config::get('cache_stockageChemin').$dest_map['vide'], 9);
237
		$retour = Config::get('cel_dst').$dest_map['vide'];
237
		$retour = Config::get('cel_dst').$dest_map['vide'];
238
		if ($this->info['retour'] == self::MIME_MAP) {
238
		if ($this->info['retour'] == self::MIME_MAP) {
239
			$retour =  "<img src=\"".$retour."\" style=\"border:none; cursor:crosshair\" alt=\"\" />\n";
239
			$retour =  "<img src=\"".$retour."\" style=\"border:none; cursor:crosshair\" alt=\"\" />\n";
240
		}
240
		}