Files
safekat/ci4/app/Config/PresupuestoSFTP.php
2025-07-21 21:55:27 +02:00

27 lines
749 B
PHP

<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
class PresupuestoSFTP extends BaseConfig
{
public string $host;
public int $port;
public string $username;
public string $password;
public string $base_dir; # FTP server directory
public int $id_offset;
public function __construct() {
parent::__construct();
$this->host = env("HIDRIVE_FILES_HOST","sftp.hidrive.ionos.com");
$this->port = env("HIDRIVE_FILES_PORT",22);
$this->username = env("HIDRIVE_FILES_USER");
$this->password = env("HIDRIVE_FILES_PASS");
$this->base_dir = env("HIDRIVE_FILES_PATH_ROOT"); # FTP server directory
$this->id_offset = env("BUDGET_FILES_OFFSET_ID",1000000);
}
}