74 lines
1.9 KiB
PHP
74 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Database\Config;
|
|
|
|
class Database extends Config
|
|
{
|
|
public string $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR;
|
|
|
|
public string $defaultGroup = 'default';
|
|
|
|
public array $defaultdev = [
|
|
'DSN' => '',
|
|
'hostname' => 'localhost',
|
|
'username' => 'devcrmms1_bd',
|
|
'password' => '.vB==c$s_Yk7',
|
|
'database' => 'devcrmms1_dev',
|
|
'DBDriver' => 'MySQLi',
|
|
'DBPrefix' => '',
|
|
'pConnect' => false,
|
|
'DBDebug' => true,
|
|
'charset' => 'utf8',
|
|
'DBCollat' => 'utf8_general_ci',
|
|
'swapPre' => '',
|
|
'encrypt' => false,
|
|
'compress' => false,
|
|
'strictOn' => false,
|
|
'failover' => [],
|
|
'port' => 3306,
|
|
];
|
|
public array $default = [
|
|
'DSN' => '',
|
|
'hostname' => 'localhost',
|
|
|
|
'username' => 'ms1crm_bd',
|
|
'password' => 'fPDJ,][ZGPwL',
|
|
'database' => 'ms1crm_prod',
|
|
|
|
|
|
'DBDriver' => 'MySQLi',
|
|
'DBPrefix' => '',
|
|
'pConnect' => false,
|
|
'DBDebug' => true,
|
|
'charset' => 'utf8',
|
|
'DBCollat' => 'utf8_general_ci',
|
|
'swapPre' => '',
|
|
'encrypt' => false,
|
|
'compress' => false,
|
|
'strictOn' => false,
|
|
'failover' => [],
|
|
'port' => 3306,
|
|
];
|
|
public array $ms1inscription = [
|
|
'DSN' => '',
|
|
'hostname' => 'localhost',
|
|
'username' => 'devinscription_bd',
|
|
'password' => 'x$@_v0-l_I((',
|
|
'database' => 'devinscription_prod',
|
|
'DBDriver' => 'MySQLi',
|
|
'DBPrefix' => '',
|
|
'pConnect' => false,
|
|
'DBDebug' => true,
|
|
'charset' => 'utf8',
|
|
'DBCollat' => 'utf8_general_ci',
|
|
'swapPre' => '',
|
|
'encrypt' => false,
|
|
'compress' => false,
|
|
'strictOn' => false,
|
|
'failover' => [],
|
|
'port' => 3306,
|
|
];
|
|
}
|