Small change

This commit is contained in:
Michael RICOIS 2014-03-26 18:01:33 +00:00
parent fbbd02e749
commit 96d4ad8399

View File

@ -76,6 +76,8 @@ if ( isset($opts->file) )
$fluxBasePath = $c->profil->path->ftp . '/' . $client;
}
$fluxBasePath .= '/send';
$OptionsCopyAddDate = false;
$OptionsCopyDeleteAfter = false;
$OptionsRunWithEndFile = false;
@ -124,6 +126,9 @@ if ( isset($opts->file) )
$lines = file($fluxBasePath . '/' . $filenameIn);
$nbLines = count($lines);
//Define default out filename
$filenameOut = $filenameIn;
//Add date to filename
if ( $OptionsCopyAddDate ) {
$extensionLength = 0;