refactor upload files from stp side

This commit is contained in:
amazuecos
2025-01-23 10:36:15 +01:00
parent 1c3f045488
commit 330d1c7a4f
6 changed files with 46 additions and 8 deletions

View File

@ -13,6 +13,7 @@ class PedidoXML extends BaseConfig
public string $password;
public string $base_dir; # FTP server directory
public bool $xml_enabled;
public int $id_offset;
public function __construct() {
parent::__construct();
@ -22,6 +23,7 @@ class PedidoXML extends BaseConfig
$this->password = env("HIDRIVE_PASS","A77h3b0X4OA2rOYAf4w2");
$this->base_dir = env("HIDRIVE_PATH_ROOT","/home/admin/safekat"); # FTP server directory
$this->xml_enabled = env("FTP_XML_ENABLED",false);
$this->id_offset = env("XML_OFFSET_CUSTOMER_ID",1000000);
}
}