JalTable : séparation date fichier et date execution
This commit is contained in:
parent
ba5d319261
commit
e0d107183c
@ -92,7 +92,8 @@ $requests = array(
|
||||
)
|
||||
);
|
||||
|
||||
$dateBegin = date('Ymd');
|
||||
$dateBegin = date('YmdHis');
|
||||
$dateFile = date('Ymd');
|
||||
|
||||
//Output path
|
||||
$client = 'orone';
|
||||
@ -132,7 +133,7 @@ foreach($requests as $n => $r) {
|
||||
} else {
|
||||
|
||||
// --- Ecriture du fichier
|
||||
$filename = $fileOptionsOut['name'] . $dateBegin . '.' . $fileOptionsOut['type'];
|
||||
$filename = $fileOptionsOut['name'] . $dateFile . '.' . $fileOptionsOut['type'];
|
||||
$file = $fileOptionsOut['dir'] . '/' . $filename;
|
||||
// --- Ouverture fichier
|
||||
$fp = fopen($file, 'w');
|
||||
|
Loading…
Reference in New Issue
Block a user