diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index 335b84b..ed554dd 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -14,7 +14,7 @@ use App\Classes\Protocol as BaseProtocol; use App\Classes\Sock\Exception\SocketException; use App\Classes\Sock\SocketClient; use App\Exceptions\{FileGrewException,InvalidFTNException}; -use App\Models\{Address,Mailer}; +use App\Models\{Address,Mailer,Setup}; final class Binkp extends BaseProtocol { @@ -195,7 +195,7 @@ final class Binkp extends BaseProtocol $this->msgs(self::BPM_NUL,sprintf('NDL %d,TCP,BINKP',$this->client->speed)); $this->msgs(self::BPM_NUL,sprintf('TIME %s',Carbon::now()->toRfc2822String())); $this->msgs(self::BPM_NUL, - sprintf('VER %s-%s %s/%s',config('app.name'),$this->setup->version,self::PROT,self::VERSION)); + sprintf('VER %s-%s %s/%s',Setup::PRODUCT_NAME_SHORT,$this->setup->version,self::PROT,self::VERSION)); if ($this->originate) { $opt = $this->capGet(self::F_NOREL,self::O_WANT) ? ' NR' : ''; diff --git a/app/Classes/Protocol/EMSI.php b/app/Classes/Protocol/EMSI.php index afcc42c..7d08f63 100644 --- a/app/Classes/Protocol/EMSI.php +++ b/app/Classes/Protocol/EMSI.php @@ -207,7 +207,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface // Mailer Details $makedata .= sprintf('{%s}{%s}{%s}{%s}', Setup::product_id(), - config('app.name'), + Setup::PRODUCT_NAME_SHORT, $this->setup->version, '#000000' // Serial Numbers );