Move fido configuation items into fido namespace. If keeping packets move them into a date aligned subdir
This commit is contained in:
@@ -15,16 +15,6 @@ return [
|
||||
|
||||
'name' => env('APP_NAME', 'Laravel'),
|
||||
'id' => env('APP_SETUP_ID', 1),
|
||||
'fido' => env('FIDO_DIR', 'fido'),
|
||||
'packet_keep' => env('FIDO_PACKET_KEEP', FALSE),
|
||||
|
||||
// Size of packet before we decide to queue it for processing
|
||||
'queue_size' => env('FIDO_QUEUE_SIZE', 1000000),
|
||||
// Number of messages in a packet that will result in them being queued for processing
|
||||
'queue_msgs' => env('FIDO_QUEUE_MSGS', 50),
|
||||
'default_pkt' => env('FIDO_DEFAULT_PACKET', '2+'),
|
||||
'areafilefix' => ['areafix','filefix'],
|
||||
'areabots' => array_merge(['sbbsecho'],['areafix','filefix']),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
28
config/fido.php
Normal file
28
config/fido.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// When sending areafix/filefix messages, validate to addresses
|
||||
'areafilefix' => ['areafix','filefix','rexfix','areamgr'],
|
||||
|
||||
// Determine if incoming messages are from bots
|
||||
'areabots' => array_merge(['sbbsecho'],['areafix','filefix','rexfix','areamgr']),
|
||||
|
||||
// Directory to use for any data we want to store locally
|
||||
'dir' => env('FIDO_DIR', 'fido'),
|
||||
|
||||
// Our Storage::disk() for locally stored data
|
||||
'local_disk' => env('FIDO_LOCAL_DIR','local'),
|
||||
|
||||
// Default packet to use if a user hasnt defined a packet format for their BBS
|
||||
'packet_default' => env('FIDO_DEFAULT_PACKET', '2+'),
|
||||
|
||||
// Do we keep packets after processing, if so we'll store them in a data formatted dir yyyymmdd
|
||||
'packet_keep' => env('FIDO_PACKET_KEEP', FALSE),
|
||||
|
||||
// Size of packet before we decide to queue it for processing
|
||||
'queue_size' => env('FIDO_QUEUE_SIZE', 1000000),
|
||||
|
||||
// Number of messages in a packet that will result in them being queued for processing
|
||||
'queue_msgs' => env('FIDO_QUEUE_MSGS', 50),
|
||||
|
||||
];
|
@@ -33,7 +33,7 @@ return [
|
||||
'local' => [
|
||||
'driver' => 'local',
|
||||
'root' => storage_path('app'),
|
||||
'throw' => false,
|
||||
'throw' => true,
|
||||
],
|
||||
|
||||
'public' => [
|
||||
|
Reference in New Issue
Block a user