Petite correction après mise en prod
This commit is contained in:
parent
769778cfc3
commit
01c88b1963
2
README
2
README
@ -114,7 +114,7 @@ Send Options list (in)
|
|||||||
- CopyAddDate - Copy file and add a timestamp to the end of the filename
|
- CopyAddDate - Copy file and add a timestamp to the end of the filename
|
||||||
- CopyDeleteAfter - After copying the file delete it in repository
|
- CopyDeleteAfter - After copying the file delete it in repository
|
||||||
- RunWithEndFile - Only execute action when we receive file with extension .fin or .end
|
- RunWithEndFile - Only execute action when we receive file with extension .fin or .end
|
||||||
- Log - Log transfert disable by default
|
- Log - Log transfert
|
||||||
- Route - For each Route options (cp, ftp, sftp, mail)
|
- Route - For each Route options (cp, ftp, sftp, mail)
|
||||||
cp => realpath of dir
|
cp => realpath of dir
|
||||||
ftp
|
ftp
|
||||||
|
@ -105,7 +105,7 @@ return array(
|
|||||||
'type' => 'FTP',
|
'type' => 'FTP',
|
||||||
'in' => array(
|
'in' => array(
|
||||||
'FilterName' => true,
|
'FilterName' => true,
|
||||||
'Route' => array( 'cp' => '/home/data/clients-ftp/vwbeng/send' ),
|
'Route' => array( 'cp' => '/home/data/clients-ftp/vwbank/send' ),
|
||||||
'CopyDeleteAfter' => true,
|
'CopyDeleteAfter' => true,
|
||||||
),
|
),
|
||||||
'out' => array(),
|
'out' => array(),
|
||||||
|
@ -121,12 +121,12 @@ if ( isset($opts->file) )
|
|||||||
// --- Filters
|
// --- Filters
|
||||||
if ($optionsFilterName === true) {
|
if ($optionsFilterName === true) {
|
||||||
if ( strpos($filenameIn, $prestation) === false ) {
|
if ( strpos($filenameIn, $prestation) === false ) {
|
||||||
exit;
|
$prestation = null; continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (is_string($optionsFilterName) && strlen($optionsFilterName) > 0) {
|
if (is_string($optionsFilterName) && strlen($optionsFilterName) > 0) {
|
||||||
if (strpos($filenameIn, $optionsFilterName) === false) {
|
if (strpos($filenameIn, $optionsFilterName) === false) {
|
||||||
exit;
|
$prestation = null; continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user