From 5c93d659947be3a10fb15ea4f01ae43586cd4990 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 24 Jan 2021 22:27:07 +0100 Subject: [PATCH] log into /tmp/g1billet.log --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 46c9e87..fc1610b 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,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."'"); +$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."' >> /tmp/g1billet.log"); $attachment_location = "/tmp/g1billet/".$timestamp.".pdf"; if (file_exists($attachment_location)) {