xbian and ticket style are one jpg
This commit is contained in:
parent
62c2e4d035
commit
23447afb09
|
@ -5,7 +5,7 @@ $timestamp = $mytime->format('U').rand();
|
|||
// CREATE 6 G1BILLETS in /tmp/g1billet/$timestamp
|
||||
$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."' '".$_REQUEST['style']."'");
|
||||
|
||||
if ( $_REQUEST['style'] == 'ticket' ) {
|
||||
if ( $_REQUEST['style'] == 'ticket' || $_REQUEST['style'] == 'xbian' ) {
|
||||
$file_type = "jpg";
|
||||
} else {
|
||||
$file_type = "pdf";
|
||||
|
|
Loading…
Reference in New Issue