xbian and ticket style are one jpg

This commit is contained in:
qo-op 2021-02-03 15:51:22 +01:00
parent 62c2e4d035
commit 23447afb09
1 changed files with 1 additions and 1 deletions

View File

@ -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";