Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 701 Rev 703
Line 193... Line 193...
193
		$time = $_SERVER['REQUEST_TIME'] ;
193
		$time = $_SERVER['REQUEST_TIME'] ;
194
		$this->fichier_html = $this->chemin_pdf.''.$nom_fichier.'-'.$time.'.html';
194
		$this->fichier_html = $this->chemin_pdf.''.$nom_fichier.'-'.$time.'.html';
195
		$this->fichier_pdf = $this->chemin_pdf.''.$nom_fichier.'-'.$time.'.pdf';
195
		$this->fichier_pdf = $this->chemin_pdf.''.$nom_fichier.'-'.$time.'.pdf';
196
		$nom = $this->getNomRetenu();
196
		$nom = $this->getNomRetenu();
197
		file_put_contents($this->fichier_html, $this->html);
197
		file_put_contents($this->fichier_html, $this->html);
198
		$commande =	
-
 
199
			" {$this->wkhtml}  --replace 'nom' '$nom' --encoding utf-8  --footer-html {$this->piedepage} {$this->fichier_html} {$this->fichier_pdf}";
198
		$commande =	"{$this->wkhtml}  --replace 'nom' '$nom' --encoding utf-8  --footer-html {$this->piedepage} {$this->fichier_html} {$this->fichier_pdf}";
200
		$debug = exec($commande);
199
		$debug = exec($commande);
201
		//echo $debug;
200
		//echo $debug;
202
	}
201
	}
203
}
202
}
204
?>
203
?>
205
204