From 23447afb09fd36319e600359c6b8816f0ed46228 Mon Sep 17 00:00:00 2001 From: qo-op Date: Wed, 3 Feb 2021 15:51:22 +0100 Subject: [PATCH] xbian and ticket style are one jpg --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";