diff --git a/index.php b/index.php index f768d8c..a266c74 100644 --- a/index.php +++ b/index.php @@ -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";