Small change
This commit is contained in:
parent
fbbd02e749
commit
96d4ad8399
@ -76,6 +76,8 @@ if ( isset($opts->file) )
|
|||||||
$fluxBasePath = $c->profil->path->ftp . '/' . $client;
|
$fluxBasePath = $c->profil->path->ftp . '/' . $client;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$fluxBasePath .= '/send';
|
||||||
|
|
||||||
$OptionsCopyAddDate = false;
|
$OptionsCopyAddDate = false;
|
||||||
$OptionsCopyDeleteAfter = false;
|
$OptionsCopyDeleteAfter = false;
|
||||||
$OptionsRunWithEndFile = false;
|
$OptionsRunWithEndFile = false;
|
||||||
@ -124,6 +126,9 @@ if ( isset($opts->file) )
|
|||||||
$lines = file($fluxBasePath . '/' . $filenameIn);
|
$lines = file($fluxBasePath . '/' . $filenameIn);
|
||||||
$nbLines = count($lines);
|
$nbLines = count($lines);
|
||||||
|
|
||||||
|
//Define default out filename
|
||||||
|
$filenameOut = $filenameIn;
|
||||||
|
|
||||||
//Add date to filename
|
//Add date to filename
|
||||||
if ( $OptionsCopyAddDate ) {
|
if ( $OptionsCopyAddDate ) {
|
||||||
$extensionLength = 0;
|
$extensionLength = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user