Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1016 Rev 1021
Line 189... Line 189...
189
		$commande =	"{$this->wkhtml}  --replace 'nom' '$nom' --encoding utf-8  --footer-html {$this->piedepage} {$this->fichier_html} {$this->fichier_pdf}";
189
		$commande =	"{$this->wkhtml}  --replace 'nom' '$nom' --encoding utf-8  --footer-html {$this->piedepage} {$this->fichier_html} {$this->fichier_pdf}";
190
		$ret = -1;
190
		$ret = -1;
191
		$debug = array();
191
		$debug = array();
192
		exec($commande, $debug, $ret);
192
		exec($commande, $debug, $ret);
193
		//print_r( $debug ); echo $ret;
193
		//print_r( $debug ); echo $ret;
194
		return ( $ret == 0 );
194
		return ( $ret == 0 || $ret == 2 );
195
	}
195
	}
196
}
196
}
197
?>
197
?>
198
198