Change where processed packets are placed, if fido.packet_keep is true
This commit is contained in:
parent
4fe5dc6ad0
commit
f912e81ee6
@ -132,7 +132,7 @@ class PacketProcess implements ShouldQueue
|
||||
} else {
|
||||
// If we want to keep the packet, we could do that logic here
|
||||
if (config('fido.packet_keep')) {
|
||||
$dir = sprintf('%s/%s',config('fido.dir'),Carbon::now()->format('Ymd'));
|
||||
$dir = sprintf('%s/%s/%s/%s',config('fido.dir'),($x=Carbon::now())->format('Y'),$x->format('m'),$x->format('d'));
|
||||
Log::debug(sprintf('%s:- Moving processed packet [%s] to [%s]',self::LOGKEY,$this->file->rel_name,$dir));
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user