forked from fanch-le-colporteur/G1BILLET
SECURE CODE = NO LOG, NO TEMP FILES
This commit is contained in:
parent
03f4fd4928
commit
6ca7930933
|
@ -3,7 +3,7 @@ $mytime = new Datetime("now");
|
|||
$timestamp = $mytime->format('U');
|
||||
|
||||
// CREATE 6 G1BILLETS in /tmp/g1billet/$timestamp
|
||||
$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."' 2>&1 >> /tmp/g1billet.log");
|
||||
$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."'");
|
||||
|
||||
$attachment_location = "/tmp/g1billet/".$timestamp.".pdf";
|
||||
if (file_exists($attachment_location)) {
|
||||
|
|
Loading…
Reference in New Issue