Configuracion para acceso a bbdd remota

This commit is contained in:
imnavajas
2025-03-13 15:30:12 +01:00
parent 36c5728b30
commit 02596457d8
4 changed files with 92 additions and 22 deletions

View File

@ -71,6 +71,32 @@ class Database extends Config
'busyTimeout' => 1000,
];
public array $olderp = [
'DSN' => '',
'hostname' => 'localhost',
'username' => '',
'password' => '',
'database' => '',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug' => true,
'charset' => 'utf8mb4',
'DBCollat' => 'utf8mb4_general_ci',
'swapPre' => '',
'encrypt' => false,
'compress' => false,
'strictOn' => false,
'failover' => [],
'port' => 3306,
'numberNative' => false,
'dateFormat' => [
'date' => 'Y-m-d',
'datetime' => 'Y-m-d H:i:s',
'time' => 'H:i:s',
],
];
public function __construct()
{
parent::__construct();