Files
2025-07-07 02:12:33 +08:00

23 lines
658 B
PHP

<?php
if( defined('SAE_APPNAME') )
{
$GLOBALS['config']['db']['db_host'] = SAE_MYSQL_HOST_M;
$GLOBALS['config']['db']['db_host_read'] = SAE_MYSQL_HOST_S;
$GLOBALS['config']['db']['db_port'] = SAE_MYSQL_PORT;
$GLOBALS['config']['db']['db_user'] = SAE_MYSQL_USER;
$GLOBALS['config']['db']['db_password'] = SAE_MYSQL_PASS;
$GLOBALS['config']['db']['db_name'] = SAE_MYSQL_DB;
}
else
{
$GLOBALS['config']['db']['db_host'] = '39.100.116.156';
$GLOBALS['config']['db']['db_port'] = 3306;
$GLOBALS['config']['db']['db_user'] = 'root';
$GLOBALS['config']['db']['db_password'] = 'bjzgy113#';
$GLOBALS['config']['db']['db_name'] = 'gate_opmonitor';
}